net/mlx5: Fix query of sd_group field
authorTariq Toukan <tariqt@nvidia.com>
Tue, 19 Dec 2023 12:46:20 +0000 (14:46 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 21 Dec 2023 00:54:24 +0000 (16:54 -0800)
commite04984a37398b3f4f5a79c993b94c6b1224184cc
tree927bcf85c2407ab0aa24aad32d3d3d08add59e96
parenta7e7b40c4bc115dbf2a2bb453d7bbb2e0ea99703
net/mlx5: Fix query of sd_group field

The sd_group field moved in the HW spec from the MPIR register
to the vport context.
Align the query accordingly.

Fixes: f5e956329960 ("net/mlx5: Expose Management PCIe Index Register (MPIR)")
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/vport.c
include/linux/mlx5/mlx5_ifc.h
include/linux/mlx5/vport.h