]> www.infradead.org Git - users/hch/nvme-cli.git/commit
<linux/nvme.h>: Correct NVMF enum values to match NVMe-oF rev 1.0
authorRoland Dreier <roland@purestorage.com>
Thu, 2 Mar 2017 03:35:39 +0000 (19:35 -0800)
committerRoland Dreier <roland@purestorage.com>
Thu, 2 Mar 2017 03:35:39 +0000 (19:35 -0800)
commit785c0d1e1b0db5cb85e79524d4d59e931a31324e
tree28d714fb0c8f97d3a9d83cc7adf73fd71491c63e
parentb465658584fa73afc92dca7163abf2fcb0ce4a9b
<linux/nvme.h>: 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.

The matching fix to the kernel include has been submitted as well:

    http://lists.infradead.org/pipermail/linux-nvme/2017-March/008612.html

Signed-off-by: Roland Dreier <roland@purestorage.com>
linux/nvme.h