OSDN Git Service

nvme.h: add RTD3R, RTD3E and OAES fields
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Jun 2016 21:20:43 +0000 (23:20 +0200)
committerJens Axboe <axboe@fb.com>
Sun, 12 Jun 2016 13:29:43 +0000 (07:29 -0600)
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>
include/linux/nvme.h

index 7d51b29..ff5ebc3 100644 (file)
@@ -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;