nvme-fc: use transport-specific sgl format
authorJames Smart <jsmart2021@gmail.com>
Thu, 7 Sep 2017 20:20:24 +0000 (13:20 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Sep 2017 14:56:05 +0000 (08:56 -0600)
commitd9d34c0b2327e85da0ad1476575264fe957fc6ef
tree8cafe4203ddc7deb20216ca6098a89540b9f0138
parentd85cf207499e6740ab9c490ff4f360af5c432d23
nvme-fc: use transport-specific sgl format

Sync with NVM Express spec change and FC-NVME 1.18.

FC transport sets SGL type to Transport SGL Data Block Descriptor and
subtype to transport-specific value 0x0A.

Removed the warn-on's on the PRP fields. They are unneeded. They were
to check for values from the upper layer that weren't set right, and
for the most part were fine. But, with Async events, which reuse the
same structure and 2nd time issued the SGL overlay converted them to
the Transport SGL values - the warn-on's were errantly firing.

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/fc.c