Skip to content

Commit a8c5a59

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

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

libnvme/src/nvme/types.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6497,7 +6497,9 @@ enum nvme_copy_range_sopt {
64976497
* @rsvd4: Reserved
64986498
* @slba: Starting LBA
64996499
* @nlb: Number of Logical Blocks
6500-
* @rsvd18: Reserved
6500+
* @cetype: Bits 3-0: Command Extension Type
6501+
* @rsvd19: Reserved
6502+
* @cev: Command Extension Value
65016503
* @sopt: Source Options
65026504
* @elbt: Expected Initial Logical Block Reference Tag /
65036505
* Expected Logical Block Storage Tag
@@ -6509,7 +6511,9 @@ struct nvme_copy_range_f2 {
65096511
__u8 rsvd4[4];
65106512
__le64 slba;
65116513
__le16 nlb;
6512-
__u8 rsvd18[4];
6514+
__u8 cetype;
6515+
__u8 rsvd19;
6516+
__le16 cev;
65136517
__le16 sopt;
65146518
__be32 elbt;
65156519
__le16 elbat;

0 commit comments

Comments
 (0)