nvme: Correct NVMF enum values to match NVMe-oF rev 1.0
authorRoland Dreier <roland@purestorage.com>
Thu, 2 Mar 2017 02:22:01 +0000 (18:22 -0800)
committerSagi Grimberg <sagi@grimberg.me>
Sun, 2 Apr 2017 07:24:07 +0000 (10:24 +0300)
commitbf17aa36c0f199f5b254262e77eaefda7da0f50b
tree3d30544ababa479a1f47f31c9d85f7c830e633f6
parentac77a0c463c1d7d659861f7b6d1261970dd3282a
nvme: Correct NVMF enum values to match NVMe-oF rev 1.0

The enum values for QPTYPE, PRTYPE and CMS are off by 1 from the
values defined in figure 42 of the NVM Express over Fabrics 1.0:

    http://www.nvmexpress.org/wp-content/uploads/NVMe_over_Fabrics_1_0_Gold_20160605-1.pdf

Fix our enums to match the final spec.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
include/linux/nvme.h