From: Bart Van Assche Date: Tue, 18 Jun 2019 16:07:27 +0000 (-0700) Subject: Introduce NVMe 1.4 Identify Namespace fields in struct nvme_id_ns X-Git-Tag: v1.9~40^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1940258cbbc6839308f5e768f3151636ab777bec;p=users%2Fsagi%2Fnvme-cli.git Introduce NVMe 1.4 Identify Namespace fields in struct nvme_id_ns 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 --- diff --git a/linux/nvme.h b/linux/nvme.h index 69f287e6..af14339b 100644 --- a/linux/nvme.h +++ b/linux/nvme.h @@ -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;