summaryrefslogtreecommitdiff
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorMohammad Kabat <mohammadkab@nvidia.com>2021-03-25 15:38:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-16 14:57:07 +0300
commita4688533c0e5b04c9a3c1de43c26623b5fe1bdd8 (patch)
tree9f504c3db2e2b628e0cbc6c75a8d4d9c114b4e5a /include/linux/mlx5
parentd03aba820f1549c9f3b1d14bf48fa082663d22b5 (diff)
downloadlinux-a4688533c0e5b04c9a3c1de43c26623b5fe1bdd8.tar.xz
net/mlx5: Fix size field in bufferx_reg struct
[ Upstream commit ac77998b7ac3044f0509b097da9637184598980d ] According to HW spec the field "size" should be 16 bits in bufferx register. Fixes: e281682bf294 ("net/mlx5_core: HW data structs/types definitions cleanup") Signed-off-by: Mohammad Kabat <mohammadkab@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index c4b8602ea6f5..e0eed46e4039 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -7953,8 +7953,8 @@ struct mlx5_ifc_bufferx_reg_bits {
u8 reserved_at_0[0x6];
u8 lossy[0x1];
u8 epsb[0x1];
- u8 reserved_at_8[0xc];
- u8 size[0xc];
+ u8 reserved_at_8[0x8];
+ u8 size[0x10];
u8 xoff_threshold[0x10];
u8 xon_threshold[0x10];