Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6102e2e5 authored by Mohammad Kabat's avatar Mohammad Kabat Committed by Greg Kroah-Hartman
Browse files

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: 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>
parent 0a64aea5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8975,8 +8975,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];