diff options
author | Changpeng Liu <changpeng.liu@intel.com> | 2017-08-31 05:22:49 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-08-30 14:46:32 +0200 |
commit | 223694b9ae8bfba99f3528d49d07a740af6ff95a (patch) | |
tree | 95dd36913fd7fe3b7a8909f427f95f0e96b3229e /include | |
parent | nvme-pci: use dma memory for the host memory buffer descriptors (diff) | |
download | linux-223694b9ae8bfba99f3528d49d07a740af6ff95a.tar.xz linux-223694b9ae8bfba99f3528d49d07a740af6ff95a.zip |
nvme: fix the definition of the doorbell buffer config support bit
NVMe 1.3 specification defines the Optional Admin Command Support feature
flags, bit 8 set to '1' then the controller supports the Doorbell Buffer
Config command. Bit 7 is used for Virtualization Mangement command.
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Fixes: f9f38e33 ("nvme: improve performance for virtual NVMe devices")
Cc: stable@vger.kernel.org
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nvme.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 25d8225dbd04..8efff888bd9b 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -254,7 +254,7 @@ enum { NVME_CTRL_VWC_PRESENT = 1 << 0, NVME_CTRL_OACS_SEC_SUPP = 1 << 0, NVME_CTRL_OACS_DIRECTIVES = 1 << 5, - NVME_CTRL_OACS_DBBUF_SUPP = 1 << 7, + NVME_CTRL_OACS_DBBUF_SUPP = 1 << 8, }; struct nvme_lbaf { |