summaryrefslogtreecommitdiff
path: root/drivers/nvme/target/nvmet.h
diff options
context:
space:
mode:
authorOmri Mann <omri@excelero.com>2017-08-30 15:22:59 +0300
committerChristoph Hellwig <hch@lst.de>2017-08-30 15:05:18 +0200
commit28dd5cf70aaac2a12a16847ae0a978f0b0575194 (patch)
treed8511097ef79536fa8f971e86ecb3c9f84d9d27e /drivers/nvme/target/nvmet.h
parent63263d60e0f9f37bfd5e6a1e83a62f0e62fc459f (diff)
nvmet: add support for reporting the host identifier
And fix the Get/Set Log Page implementation to take all 8 bits of the feature identifier into account. Signed-off-by: Omri Mann <omri@excelero.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> [hch: used the UUID API, updated changelog]
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 e3b244c7e443..7d261ab894f4 100644
--- a/drivers/nvme/target/nvmet.h
+++ b/drivers/nvme/target/nvmet.h
@@ -115,6 +115,7 @@ struct nvmet_ctrl {
u32 cc;
u32 csts;
+ uuid_t hostid;
u16 cntlid;
u32 kato;