Skip to content

Commit

Permalink
net/mlx5: correct ECE offset in query qp output
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
changchengx authored and Saeed Mahameed committed May 31, 2022
1 parent 2e642af commit 3fc2a9e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/linux/mlx5/mlx5_ifc.h
Original file line number Diff line number Diff line change
Expand Up @@ -5176,12 +5176,11 @@ struct mlx5_ifc_query_qp_out_bits {

u8 syndrome[0x20];

u8 reserved_at_40[0x20];
u8 ece[0x20];
u8 reserved_at_40[0x40];

u8 opt_param_mask[0x20];

u8 reserved_at_a0[0x20];
u8 ece[0x20];

struct mlx5_ifc_qpc_bits qpc;

Expand Down

0 comments on commit 3fc2a9e

Please sign in to comment.