OSDN Git Service

nvme-tcp: check sgl supported by target
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Tue, 30 Mar 2021 23:01:19 +0000 (23:01 +0000)
committerChristoph Hellwig <hch@lst.de>
Fri, 2 Apr 2021 16:48:28 +0000 (18:48 +0200)
commit73ffcefcfca047e5c13a3f81d2cf22eff18732c1
treecaac7ac28686a50ac7341a6620123d36c24eadaf
parentd8e7b462f5b8b93920c6c6a191be887b32306e6b
nvme-tcp: check sgl supported by target

SGLs support is mandatory for NVMe/tcp, make sure that the target is
aligned to the specification.

Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/tcp.c