Skip to content

Commit dfc5cdf

Browse files
francispravin5igaw
authored andcommitted
types: Update id-ns fields based on NVM Command Set Spec 1.1
Add KPIOS and KPIODAAG fields of Identify Namespace Data Structure in NVM Command Set Specification 1.1. Signed-off-by: Francis Pravin <francis.p@samsung.com>
1 parent 0ce9566 commit dfc5cdf

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/nvme/types.h

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2554,12 +2554,16 @@ enum nvme_lbaf_rp {
25542554
* @msrc: Maximum Source Range Count indicates the maximum number of Source
25552555
* Range entries that may be used to specify source data in a Copy
25562556
* command. This is a 0’s based value.
2557-
* @rsvd81: Reserved
2557+
* @kpios: Key Per I/O Status indicates namespace Key Per I/O capability status.
25582558
* @nulbaf: Number of Unique Capability LBA Formats defines the number of
25592559
* supported user data size and metadata size combinations supported
25602560
* by the namespace that may not share the same capabilities. LBA
25612561
* formats shall be allocated in order and packed sequentially.
25622562
* @rsvd83: Reserved
2563+
* @kpiodaag: Key Per I/O Data Access Alignment and Granularity indicates the
2564+
* alignment and granularity in logical blocks that is required
2565+
* for commands that support a KPIOTAG value in the CETYPE field.
2566+
* @rsvd88: Reserved
25632567
* @anagrpid: ANA Group Identifier indicates the ANA Group Identifier of the
25642568
* ANA group of which the namespace is a member.
25652569
* @rsvd96: Reserved
@@ -2611,9 +2615,11 @@ struct nvme_id_ns {
26112615
__le16 mssrl;
26122616
__le32 mcl;
26132617
__u8 msrc;
2614-
__u8 rsvd81;
2618+
__u8 kpios;
26152619
__u8 nulbaf;
2616-
__u8 rsvd83[9];
2620+
__u8 rsvd83;
2621+
__le32 kpiodaag;
2622+
__u8 rsvd88[4];
26172623
__le32 anagrpid;
26182624
__u8 rsvd96[3];
26192625
__u8 nsattr;

0 commit comments

Comments
 (0)