summaryrefslogtreecommitdiff
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-06-06 23:20:43 +0200
committerJens Axboe <axboe@fb.com>2016-06-12 07:29:43 -0600
commit14e974a84e831bf9a44495c7256a6846e7f77630 (patch)
treecddc2c0e28c5f28649fd81816734514fc391ac64 /include/linux/nvme.h
parent81baf90af2dcc8259e99e2f236024524b55313fc (diff)
downloadlwn-14e974a84e831bf9a44495c7256a6846e7f77630.tar.gz
lwn-14e974a84e831bf9a44495c7256a6846e7f77630.zip
nvme.h: add RTD3R, RTD3E and OAES fields
These have been added in NVMe 1.2 and we'll need at least oaes for the NVMe target driver. Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Jay Freyensee <james.p.freyensee@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 7d51b2904cb7..ff5ebc378cc3 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -107,7 +107,10 @@ struct nvme_id_ctrl {
__u8 mdts;
__le16 cntlid;
__le32 ver;
- __u8 rsvd84[172];
+ __le32 rtd3r;
+ __le32 rtd3e;
+ __le32 oaes;
+ __u8 rsvd96[160];
__le16 oacs;
__u8 acl;
__u8 aerl;