summaryrefslogtreecommitdiff
path: root/drivers/nvme/target/nvmet.h
diff options
context:
space:
mode:
authorAleksandr Miloserdov <a.miloserdov@yadro.com>2022-11-15 14:58:09 +0300
committerChristoph Hellwig <hch@lst.de>2022-11-21 08:35:58 +0100
commit23855abdc4be03e17564f665b5d0029ef27abf7b (patch)
tree794cc7c950b3192a057e4a634a1bd0743c7cc2f5 /drivers/nvme/target/nvmet.h
parent9f27bd701d18f012646a06bc6c1b35d81f30359b (diff)
nvmet: expose IEEE OUI to configfs
Allow user to set OUI for the controller vendor. Reviewed-by: Konstantin Shelekhin <k.shelekhin@yadro.com> Reviewed-by: Dmitriy Bogdanov <d.bogdanov@yadro.com> Signed-off-by: Aleksandr Miloserdov <a.miloserdov@yadro.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target/nvmet.h')
-rw-r--r--drivers/nvme/target/nvmet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/target/nvmet.h b/drivers/nvme/target/nvmet.h
index bda1c1f71f39..976e11cd8c01 100644
--- a/drivers/nvme/target/nvmet.h
+++ b/drivers/nvme/target/nvmet.h
@@ -263,6 +263,7 @@ struct nvmet_subsys {
struct config_group allowed_hosts_group;
char *model_number;
+ u32 ieee_oui;
#ifdef CONFIG_NVME_TARGET_PASSTHRU
struct nvme_ctrl *passthru_ctrl;