]> www.infradead.org Git - users/dwmw2/linux.git/commit
net/mlx5: Fix size field in bufferx_reg struct
authorMohammad Kabat <mohammadkab@nvidia.com>
Thu, 25 Mar 2021 12:38:55 +0000 (14:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Mar 2022 13:15:59 +0000 (14:15 +0100)
commit5f1340963b11bb03a5b2fc5b9f577eeeabb0d71c
tree93cd7d8c84dd0f162642c1a4a7135e582b8d5d9e
parente2201ef32f933944ee02e59205adb566bafcdf91
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>
include/linux/mlx5/mlx5_ifc.h