Skip to content

Commit

Permalink
types: Update id-ns fields based on NVMe 2.1 spec
Browse files Browse the repository at this point in the history
Add KPIOS and KPIODAAG fields of Identify Namespace Data Structure
in NVMe 2.1 spec.

Signed-off-by: Francis Pravin <[email protected]>
  • Loading branch information
francispravin5 committed Jan 16, 2025
1 parent a9f667a commit d25423f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -2554,12 +2554,16 @@ enum nvme_lbaf_rp {
* @msrc: Maximum Source Range Count indicates the maximum number of Source
* Range entries that may be used to specify source data in a Copy
* command. This is a 0’s based value.
* @rsvd81: Reserved
* @kpios: Key Per I/O Status indicates namespace Key Per I/O capability status.
* @nulbaf: Number of Unique Capability LBA Formats defines the number of
* supported user data size and metadata size combinations supported
* by the namespace that may not share the same capabilities. LBA
* formats shall be allocated in order and packed sequentially.
* @rsvd83: Reserved
* @kpiodaag: Key Per I/O Data Access Alignment and Granularity indicates the
* alignment and granularity in logical blocks that is required
* for commands that support a KPIOTAG value in the CETYPE field.
* @rsvd88: Reserved
* @anagrpid: ANA Group Identifier indicates the ANA Group Identifier of the
* ANA group of which the namespace is a member.
* @rsvd96: Reserved
Expand Down Expand Up @@ -2611,9 +2615,11 @@ struct nvme_id_ns {
__le16 mssrl;
__le32 mcl;
__u8 msrc;
__u8 rsvd81;
__u8 kpios;
__u8 nulbaf;
__u8 rsvd83[9];
__u8 rsvd83;
__le32 kpiodaag;
__u8 rsvd88[4];
__le32 anagrpid;
__u8 rsvd96[3];
__u8 nsattr;
Expand Down

0 comments on commit d25423f

Please sign in to comment.