test: add support for 0x0A type XCOPY segment descriptors

Type 0x0A segment descriptors provide a 32-bit wide number-of-bytes
field, allowing for much larger copy offloads with a single segment
descriptor.

Signed-off-by: David Disseldorp <ddiss@suse.de>
This commit is contained in:
David Disseldorp
2020-03-18 15:04:11 +01:00
parent 385c6e8ae9
commit c8992f45b1
3 changed files with 25 additions and 0 deletions

View File

@@ -1167,6 +1167,7 @@ enum ec_descr_type_code {
STRM_TO_BLK_SEG_DESCR = 0x01,
BLK_TO_BLK_SEG_DESCR = 0x02,
STRM_TO_STRM_SEG_DESCR = 0x03,
BLK_TO_BLK_OFF_SEG_DESCR = 0x0A,
/* Target descriptors : 0xEO to 0xFE */
IDENT_DESCR_TGT_DESCR = 0xE4,