diff options
author | Aleksandr Miloserdov <a.miloserdov@yadro.com> | 2022-11-15 14:58:09 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-11-21 08:35:58 +0100 |
commit | 23855abdc4be03e17564f665b5d0029ef27abf7b (patch) | |
tree | 794cc7c950b3192a057e4a634a1bd0743c7cc2f5 /drivers/nvme/target/core.c | |
parent | 9f27bd701d18f012646a06bc6c1b35d81f30359b (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/core.c')
-rw-r--r-- | drivers/nvme/target/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvme/target/core.c b/drivers/nvme/target/core.c index 171493bcf0fb..006d8c94f5e1 100644 --- a/drivers/nvme/target/core.c +++ b/drivers/nvme/target/core.c @@ -1561,6 +1561,8 @@ struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn, goto free_subsys; } + subsys->ieee_oui = 0; + switch (type) { case NVME_NQN_NVME: subsys->max_qid = NVMET_NR_QUEUES; |