Skip to content

Commit 3fc2a9e

Browse files
changchengxSaeed Mahameed
authored andcommitted
net/mlx5: correct ECE offset in query qp output
ECE field should be after opt_param_mask in query qp output. Fixes: 6b646a7 ("net/mlx5: Add ability to read and write ECE options") Signed-off-by: Changcheng Liu <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent 2e642af commit 3fc2a9e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5176,12 +5176,11 @@ struct mlx5_ifc_query_qp_out_bits {
51765176

51775177
u8 syndrome[0x20];
51785178

5179-
u8 reserved_at_40[0x20];
5180-
u8 ece[0x20];
5179+
u8 reserved_at_40[0x40];
51815180

51825181
u8 opt_param_mask[0x20];
51835182

5184-
u8 reserved_at_a0[0x20];
5183+
u8 ece[0x20];
51855184

51865185
struct mlx5_ifc_qpc_bits qpc;
51875186

0 commit comments

Comments
 (0)