summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Gurtovoy <mgurtovoy@nvidia.com>2021-09-23 13:17:44 +0300
committerChristoph Hellwig <hch@lst.de>2021-10-20 19:16:03 +0200
commitd56ae18f063e38eba47550c632519c9fe3f76b19 (patch)
tree6680c77500cb2878e43524b2a48087a5a8acea57 /include
parent571b5444d1eee112e82eebd0cf877dc510b8b5a5 (diff)
downloadlinux-d56ae18f063e38eba47550c632519c9fe3f76b19.tar.bz2
nvmet: use macro definitions for setting cmic value
This makes the code more readable. Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nvme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index ed2428918bca..357482dedb59 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -320,6 +320,7 @@ struct nvme_id_ctrl {
};
enum {
+ NVME_CTRL_CMIC_MULTI_PORT = 1 << 0,
NVME_CTRL_CMIC_MULTI_CTRL = 1 << 1,
NVME_CTRL_CMIC_ANA = 1 << 3,
NVME_CTRL_ONCS_COMPARE = 1 << 0,