Skip to content

Commit cf45db5

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

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

libnvme/src/nvme/types.h

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6436,11 +6436,14 @@ struct nvme_dsm_range {
64366436
};
64376437

64386438
/**
6439-
* struct nvme_copy_range_f0 - Copy - Source Range Entries Descriptor Format
6439+
* struct nvme_copy_range_f0 - Copy - Source Range Entries Descriptor Format 0h
64406440
* @rsvd0: Reserved
64416441
* @slba: Starting LBA
64426442
* @nlb: Number of Logical Blocks
6443-
* @rsvd18: Reserved
6443+
* @cetype: Bits 3-0: Command Extension Type
6444+
* @rsvd19: Reserved
6445+
* @cev: Command Extension Value
6446+
* @rsvd22: Reserved
64446447
* @elbt: Expected Initial Logical Block Reference Tag /
64456448
* Expected Logical Block Storage Tag
64466449
* @elbatm: Expected Logical Block Application Tag Mask
@@ -6450,7 +6453,10 @@ struct nvme_copy_range_f0 {
64506453
__u8 rsvd0[8];
64516454
__le64 slba;
64526455
__le16 nlb;
6453-
__u8 rsvd18[6];
6456+
__u8 cetype;
6457+
__u8 rsvd19;
6458+
__le16 cev;
6459+
__u8 rsvd22[2];
64546460
__be32 elbt;
64556461
__le16 elbat;
64566462
__le16 elbatm;

0 commit comments

Comments
 (0)