]> 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)
commit9c40a78b34e76585cc350fb050d956abef703fc1
tree7fc364922e28fbd43b381d328e251055c01fbddb
parentbb85dcc973c39dcbcfe38f676098ee0728b4e8d5
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