summaryrefslogtreecommitdiffstats
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorGuan Junxiong <guanjunxiong@huawei.com>2017-06-12 21:26:15 -0400
committerChristoph Hellwig <hch@lst.de>2017-06-15 08:30:26 -0400
commit435e809058bafaa8f0bf8f55f37508b01734c9a5 (patch)
tree8588dcd0dbec34bbba67683a0c5a75f9d15461bc /include/linux/nvme.h
parent1b63327734f111c56d2035e23e5088b79cfa3700 (diff)
nvme: add fields into identify controller data structure
Add the new to NVMe 1.3 fields EDSTT, DSTO, FWUG, HCTMA, MNTMT, MXTMT, and SANICAP into the idenfity controller data structure. Signed-off-by: Guan Junxiong <guanjunxiong@huawei.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index acb484935603..6d476f242ee6 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -209,9 +209,15 @@ struct nvme_id_ctrl {
209 __u8 tnvmcap[16]; 209 __u8 tnvmcap[16];
210 __u8 unvmcap[16]; 210 __u8 unvmcap[16];
211 __le32 rpmbs; 211 __le32 rpmbs;
212 __u8 rsvd316[4]; 212 __le16 edstt;
213 __u8 dsto;
214 __u8 fwug;
213 __le16 kas; 215 __le16 kas;
214 __u8 rsvd322[190]; 216 __le16 hctma;
217 __le16 mntmt;
218 __le16 mxtmt;
219 __le32 sanicap;
220 __u8 rsvd332[180];
215 __u8 sqes; 221 __u8 sqes;
216 __u8 cqes; 222 __u8 cqes;
217 __le16 maxcmd; 223 __le16 maxcmd;