aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorChangcheng Liu <jerrliu@nvidia.com>2022-04-26 21:28:14 +0800
committerSaeed Mahameed <saeedm@nvidia.com>2022-05-31 13:40:54 -0700
commit3fc2a9e89b3508a5cc0c324f26d7b4740ba8c456 (patch)
tree407f8031c830678a475e4638ea9f7186cfc9c00d /include/linux/mlx5/mlx5_ifc.h
parentnet/mlx5e: Disable softirq in mlx5e_activate_rq to avoid race condition (diff)
downloadwireguard-linux-3fc2a9e89b3508a5cc0c324f26d7b4740ba8c456.tar.xz
wireguard-linux-3fc2a9e89b3508a5cc0c324f26d7b4740ba8c456.zip
net/mlx5: correct ECE offset in query qp output
ECE field should be after opt_param_mask in query qp output. Fixes: 6b646a7e4af6 ("net/mlx5: Add ability to read and write ECE options") Signed-off-by: Changcheng Liu <jerrliu@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 78b3d3465dd7..2cd7d611e7b3 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -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;