diff options
author | Tariq Toukan <tariqt@nvidia.com> | 2023-12-19 14:46:20 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2024-01-24 00:15:33 -0800 |
commit | cfbc3608a8c69b48bf238bd68f768192f0238e0d (patch) | |
tree | d4b384561dd5d574c596aebaeff62409aaa7c778 /include/linux/mlx5/vport.h | |
parent | 25461ce8b3d28528f2c55f5e737e99d2906eda83 (diff) |
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>
Diffstat (limited to 'include/linux/mlx5/vport.h')
-rw-r--r-- | include/linux/mlx5/vport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/vport.h b/include/linux/mlx5/vport.h index fbb9bf447889..c36cc6d82926 100644 --- a/include/linux/mlx5/vport.h +++ b/include/linux/mlx5/vport.h @@ -72,6 +72,7 @@ int mlx5_query_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 *mtu); int mlx5_modify_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 mtu); int mlx5_query_nic_vport_system_image_guid(struct mlx5_core_dev *mdev, u64 *system_image_guid); +int mlx5_query_nic_vport_sd_group(struct mlx5_core_dev *mdev, u8 *sd_group); int mlx5_query_nic_vport_node_guid(struct mlx5_core_dev *mdev, u64 *node_guid); int mlx5_modify_nic_vport_node_guid(struct mlx5_core_dev *mdev, u16 vport, u64 node_guid); |