Commit c9062cb0 authored by Mohammad Kabat's avatar Mohammad Kabat Committed by Zheng Zengkai
Browse files

net/mlx5: Fix size field in bufferx_reg struct

stable inclusion
from stable-v5.10.106
commit 5f1340963b11bb03a5b2fc5b9f577eeeabb0d71c
bugzilla: https://gitee.com/openeuler/kernel/issues/I573US

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



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

[ Upstream commit ac77998b ]

According to HW spec the field "size" should be 16 bits
in bufferx register.

Fixes: e281682b ("net/mlx5_core: HW data structs/types definitions cleanup")
Signed-off-by: default avatarMohammad Kabat <mohammadkab@nvidia.com>
Reviewed-by: default avatarMoshe Shemesh <moshe@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 8aaa7538
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment