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>
Wed, 24 Jan 2024 08:15:33 +0000 (00:15 -0800)
commitcfbc3608a8c69b48bf238bd68f768192f0238e0d
treed4b384561dd5d574c596aebaeff62409aaa7c778
parent25461ce8b3d28528f2c55f5e737e99d2906eda83
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