mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
net/mlx5: Fix size field in bufferx_reg struct
[ Upstream commitac77998b7a
] According to HW spec the field "size" should be 16 bits in bufferx register. Fixes:e281682bf2
("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>
This commit is contained in:
parent
46ad629e58
commit
b3d4a7dcb9
1 changed files with 2 additions and 2 deletions
|
@ -9508,8 +9508,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];
|
||||
|
|
Loading…
Reference in a new issue