]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 13:17:43 +0000 (15:17 +0200)
commit5d7f0839000ab13ed006d4eb7ebd142f4ccc22dd
tree54565c2e7b23b8d3b064cc329fb1cf0508ae6778
parent7417061052fae220279775630af7831a0ae323cb
net/mlx5: Fix size field in bufferx_reg struct

BugLink: https://bugs.launchpad.net/bugs/1969672
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
include/linux/mlx5/mlx5_ifc.h