]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36baf55976072685cfe8f253e07aad834fffdad8
tree8cafe4203ddc7deb20216ca6098a89540b9f0138
parent43f0df4d8aecb29ed82409edc5977db242b2d924
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