提交 6f7c0c00 编写于 作者: C Changcheng Liu 提交者: Zheng Zengkai

net/mlx5: correct ECE offset in query qp output

stable inclusion
from stable-v5.10.122
commit b50eef7a38ed074b0c4a958155da0e103aa6419f
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5W6OE

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b50eef7a38ed074b0c4a958155da0e103aa6419f

--------------------------------

[ Upstream commit 3fc2a9e8 ]

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: NChangcheng Liu <jerrliu@nvidia.com>
Signed-off-by: NSaeed Mahameed <saeedm@nvidia.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: NWei Li <liwei391@huawei.com>
上级 0e1fa5cc
...@@ -4877,12 +4877,11 @@ struct mlx5_ifc_query_qp_out_bits { ...@@ -4877,12 +4877,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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册