Commit 3fc2a9e8 authored by Changcheng Liu's avatar Changcheng Liu Committed by Saeed Mahameed

net/mlx5: correct ECE offset in query qp output

ECE field should be after opt_param_mask in query qp output.

Fixes: 6b646a7e ("net/mlx5: Add ability to read and write ECE options")
Signed-off-by: default avatarChangcheng Liu <jerrliu@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent 2e642afb
...@@ -5176,12 +5176,11 @@ struct mlx5_ifc_query_qp_out_bits { ...@@ -5176,12 +5176,11 @@ struct mlx5_ifc_query_qp_out_bits {
u8 syndrome[0x20]; u8 syndrome[0x20];
u8 reserved_at_40[0x20]; u8 reserved_at_40[0x40];
u8 ece[0x20];
u8 opt_param_mask[0x20]; u8 opt_param_mask[0x20];
u8 reserved_at_a0[0x20]; u8 ece[0x20];
struct mlx5_ifc_qpc_bits qpc; struct mlx5_ifc_qpc_bits qpc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment