]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Introduce NVMe 1.4 Identify Namespace fields in struct nvme_id_ns
authorBart Van Assche <bvanassche@acm.org>
Tue, 18 Jun 2019 16:07:27 +0000 (09:07 -0700)
committerBart Van Assche <bvanassche@acm.org>
Wed, 19 Jun 2019 17:28:15 +0000 (10:28 -0700)
Several new fields have been introduced in version 1.4 of the NVMe spec
at offsets that were defined as reserved in version 1.3d of the NVMe
spec. Update the definition of the nvme_id_ns data structure such that
it is in sync with version 1.4 of the NVMe spec. This change preserves
backwards compatibility.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
linux/nvme.h

index 69f287e682f211fc3450586860e50260c9b922d6..af14339bdca6a4ca72e6990d55f317a37bfa9985 100644 (file)
@@ -332,7 +332,12 @@ struct nvme_id_ns {
        __le16                  nabspf;
        __le16                  noiob;
        __u8                    nvmcap[16];
-       __u8                    rsvd64[28];
+       __le16                  npwg;
+       __le16                  npwa;
+       __le16                  npdg;
+       __le16                  npda;
+       __le16                  nows;
+       __u8                    rsvd74[18];
        __le32                  anagrpid;
        __u8                    rsvd96[3];
        __u8                    nsattr;