Skip to content

Commit d0b55af

Browse files
Fenghua Yuvinodkoul
authored andcommitted
dmaengine: idxd: Correct IAX operation code names
Some IAX operation code nomenclatures are misleading or don't match with others: 1. Operation code 0x4c is Zero Compress 32. IAX_OPCODE_DECOMP_32 is a misleading name. Change it to IAX_OPCODE_ZERO_COMP_32. 2. Operation code 0x4d is Zero Compress 16. IAX_OPCODE_DECOMP_16 is a misleading name. Change it to IAX_OPCODE_ZERO_COMP_16. 3. IAX_OPCDE_FIND_UNIQUE is corrected to match with other nomenclatures. Co-developed-by: Li Zhang <[email protected]> Signed-off-by: Li Zhang <[email protected]> Signed-off-by: Fenghua Yu <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent c3266ee commit d0b55af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/uapi/linux/idxd.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ enum iax_opcode {
8989
IAX_OPCODE_CRC64,
9090
IAX_OPCODE_ZERO_DECOMP_32 = 0x48,
9191
IAX_OPCODE_ZERO_DECOMP_16,
92-
IAX_OPCODE_DECOMP_32 = 0x4c,
93-
IAX_OPCODE_DECOMP_16,
92+
IAX_OPCODE_ZERO_COMP_32 = 0x4c,
93+
IAX_OPCODE_ZERO_COMP_16,
9494
IAX_OPCODE_SCAN = 0x50,
9595
IAX_OPCODE_SET_MEMBER,
9696
IAX_OPCODE_EXTRACT,
9797
IAX_OPCODE_SELECT,
9898
IAX_OPCODE_RLE_BURST,
99-
IAX_OPCDE_FIND_UNIQUE,
99+
IAX_OPCODE_FIND_UNIQUE,
100100
IAX_OPCODE_EXPAND,
101101
};
102102

0 commit comments

Comments
 (0)