nvme-tcp: use ctrl sgl check helper
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 10 Jun 2021 01:28:26 +0000 (18:28 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 17 Jun 2021 13:51:19 +0000 (15:51 +0200)
commit3b54064fbce73a4dada6019dd400f0ce28ab5eb9
tree844d12ed9c810385b5df8b6f9ea4e5064a8d8cda
parent253a0b76a12a4cce14095b3d74004e67a6434d79
nvme-tcp: use ctrl sgl check helper

Use the helper to check NVMe controller's SGL support.

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/tcp.c