linux_dsm_epyc7002/drivers/nvme/target
Parav Pandit 986994a275 nvme: Use CNS as 8-bit field and avoid endianness conversion
This patch defines CNS field as 8-bit field and avoids cpu_to/from_le
conversions.
Also initialize nvme_command cns value explicitly to NVME_ID_CNS_NS
for readability (don't rely on the fact that NVME_ID_CNS_NS = 0).

Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-02-22 13:34:00 -07:00
..
admin-cmd.c nvme: Use CNS as 8-bit field and avoid endianness conversion 2017-02-22 13:34:00 -07:00
configfs.c nvmet: delete controllers deletion upon subsystem release 2017-01-26 17:44:22 +02:00
core.c nvmet: Make cntlid globally unique 2017-02-22 13:34:00 -07:00
discovery.c nvme: Use CNS as 8-bit field and avoid endianness conversion 2017-02-22 13:34:00 -07:00
fabrics-cmd.c nvmet: avoid dereferencing nvmet_req 2017-02-22 13:34:00 -07:00
fc.c nvmet_fc: cleanup of abort flag processing in fcp_op_done 2017-02-22 13:34:00 -07:00
fcloop.c nvmet/fcloop: remove some logically dead code performing redundant ret checks 2016-12-21 11:34:28 +01:00
io-cmd.c nvmet: add support for the Write Zeroes command 2016-12-01 07:58:40 -07:00
Kconfig nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
loop.c block: introduce blk_rq_is_passthrough 2017-01-31 14:00:34 -07:00
Makefile nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
nvmet.h nvmet: Make cntlid globally unique 2017-02-22 13:34:00 -07:00
rdma.c nvmet-rdma: Fix missing dma sync to nvme data structures 2017-01-26 17:45:03 +02:00