Skip to content

Commit f5f526c

Browse files
committed
libnvme/types: add nvme_copy_range_f1/f3 new feilds
Just followed NVMe command set spec revision 1.2. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent dc5c054 commit f5f526c

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

libnvme/src/nvme/types.h

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6467,7 +6467,10 @@ struct nvme_copy_range_f0 {
64676467
* @rsvd0: Reserved
64686468
* @slba: Starting LBA
64696469
* @nlb: Number of Logical Blocks
6470-
* @rsvd18: Reserved
6470+
* @cetype: Bits 3-0: Command Extension Type
6471+
* @rsvd19: Reserved
6472+
* @cev: Command Extension Value
6473+
* @rsvd22: Reserved
64716474
* @elbt: Expected Initial Logical Block Reference Tag /
64726475
* Expected Logical Block Storage Tag
64736476
* @elbatm: Expected Logical Block Application Tag Mask
@@ -6477,7 +6480,10 @@ struct nvme_copy_range_f1 {
64776480
__u8 rsvd0[8];
64786481
__le64 slba;
64796482
__le16 nlb;
6480-
__u8 rsvd18[8];
6483+
__u8 cetype;
6484+
__u8 rsvd19;
6485+
__le16 cev;
6486+
__u8 rsvd22[4];
64816487
__u8 elbt[10];
64826488
__le16 elbat;
64836489
__le16 elbatm;
@@ -6526,8 +6532,10 @@ struct nvme_copy_range_f2 {
65266532
* @rsvd4: Reserved
65276533
* @slba: Starting LBA
65286534
* @nlb: Number of Logical Blocks
6529-
* @rsvd18: Reserved
6535+
* @cetype: Bits 3-0: Command Extension Type
6536+
* @rsvd19: Reserved
65306537
* @sopt: Source Options
6538+
* @cev: Command Extension Value
65316539
* @rsvd24: Reserved
65326540
* @elbt: Expected Initial Logical Block Reference Tag /
65336541
* Expected Logical Block Storage Tag
@@ -6539,7 +6547,9 @@ struct nvme_copy_range_f3 {
65396547
__u8 rsvd4[4];
65406548
__le64 slba;
65416549
__le16 nlb;
6542-
__u8 rsvd18[4];
6550+
__u8 cetype;
6551+
__u8 rsvd19;
6552+
__le16 cev;
65436553
__le16 sopt;
65446554
__u8 rsvd24[2];
65456555
__u8 elbt[10];

0 commit comments

Comments
 (0)