Skip to content

Commit

Permalink
net/mlx5: Fix size field in bufferx_reg struct
Browse files Browse the repository at this point in the history
According to HW spec the field "size" should be 16 bits
in bufferx register.

Fixes: e281682 ("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>
  • Loading branch information
mohammadkab authored and Saeed Mahameed committed Mar 9, 2022
1 parent cc7e2f5 commit ac77998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/mlx5/mlx5_ifc.h
Original file line number Diff line number Diff line change
Expand Up @@ -9900,8 +9900,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];
Expand Down

0 comments on commit ac77998

Please sign in to comment.