Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: changpeng.liu@intel.com (Changpeng Liu)
Subject: [PATCH v2] nvme: fix the definition of Admin doorbell buffer config support
Date: Thu, 31 Aug 2017 15:55:49 +0800	[thread overview]
Message-ID: <1504166149-16770-1-git-send-email-changpeng.liu@intel.com> (raw)

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 at intel.com>
---
 include/linux/nvme.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 25d8225..8efff88 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 {
-- 
1.9.3

             reply	other threads:[~2017-08-31  7:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-31  7:55 Changpeng Liu [this message]
2017-08-30  7:41 ` [PATCH v2] nvme: fix the definition of Admin doorbell buffer config support Johannes Thumshirn
2017-08-30  7:55 ` Max Gurtovoy
2017-08-30  9:54 ` Sagi Grimberg
2017-08-30 14:27 ` Keith Busch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1504166149-16770-1-git-send-email-changpeng.liu@intel.com \
    --to=changpeng.liu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox