nvme: fix the definition of the doorbell buffer config support bit
authorChangpeng Liu <changpeng.liu@intel.com>
Thu, 31 Aug 2017 03:22:49 +0000 (11:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Sep 2017 06:37:16 +0000 (08:37 +0200)
commitbdacc5fcf4f905e732fb3420e20602da333285e9
tree5035dce8392d46b0d0524713df0fe4f9656b9930
parentc6d2779d8f0d834e552ed5f022e96137b768315c
nvme: fix the definition of the doorbell buffer config support bit

commit 223694b9ae8bfba99f3528d49d07a740af6ff95a upstream.

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")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/nvme.h