]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: fix PSDT field check in command format
authorMax Gurtovoy <maxg@mellanox.com>
Wed, 24 Jan 2018 15:31:45 +0000 (17:31 +0200)
committerKeith Busch <keith.busch@intel.com>
Wed, 28 Feb 2018 17:10:22 +0000 (10:10 -0700)
commitc47552faf7e79447f97a1de7f1922feda9c617c7
tree7fc364922e28fbd43b381d328e251055c01fbddb
parentbb88a9e3a1b56a21ec736efeaa7b245a2dfb66d3
nvmet: fix PSDT field check in command format

PSDT field section according to NVM_Express-1.3:
"This field specifies whether PRPs or SGLs are used for any data
transfer associated with the command. PRPs shall be used for all
Admin commands for NVMe over PCIe. SGLs shall be used for all Admin
and I/O commands for NVMe over Fabrics. This field shall be set to
01b for NVMe over Fabrics 1.0 implementations.

Suggested-by: Idan Burstein <idanb@mellanox.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
drivers/nvme/target/core.c