nvme: fix the definition of Amin doorbell buffer config support
PATCH 1/1 nvme: fix the definition of Amin doorbell buffer config support
NVMe 1.3 specification defines the Optioal 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.
--- include/linux/nvme.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/nvme.h +1 -1
@@ -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 {
Signature · 1 line
1.9.3
Christoph Hellwig
maintainerPATCH 1/1 nvme: fix the definition of Amin doorbell buffer config support
Thanks!
PATCH 1/1 nvme: fix the definition of Amin doorbell buffer config support
In reply to Changpeng Liuinclude/linux/nvme.h
Quoted 11 lines · Changpeng Liu
NVMe 1.3 specification defines the Optioal 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 at intel.com>--- include/linux/nvme.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/nvme.h +0
-0
Looks good (need to update the typo Optioal -> Optional during the merge),
PATCH 1/1 nvme: fix the definition of Amin doorbell buffer config support
Quoted 19 lines
-----Original Message-----
From: Max Gurtovoy [mailto:maxg at mellanox.com]
Sent: Wednesday, August 30, 2017 3:18 PM
To: Liu, Changpeng <changpeng.liu at intel.com>; linux-nvme at lists.infradead.org; Busch, Keith <keith.busch at intel.com>; axboe at fb.com; hch at lst.de; sagi at grimberg.me
Subject: Re: [PATCH] nvme: fix the definition of Amin doorbell buffer config supportQuoted 5 lines · Changpeng Liu
NVMe 1.3 specification defines the Optioal 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.
Quoted 8 lines
include/linux/nvme.h
Quoted 6 lines
Signed-off-by Changpeng Liu <changpeng.liu at intel.com>--- include/linux/nvme.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/nvme.h +0
-0Looks good (need to update the typo Optioal -> Optional during the merge),
Thanks, will send v2 to fix the typo.
Quoted 2 lines
Reviewed-by Max Gurtovoy <maxg at mellanox.com>