diff options
| author | Moshe Shemesh <moshe@nvidia.com> | 2026-05-21 14:08:41 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-25 23:48:51 +0300 |
| commit | 425ac0e7a6a00fb274eb237301075d5ec9acf83c (patch) | |
| tree | 61c0b4ea6c33f20108f8268e551c6a5e9a4192e7 /include | |
| parent | ac338d8011c0c8ad2d3b54b1ed5fc3cc5fee683b (diff) | |
| download | linux-425ac0e7a6a00fb274eb237301075d5ec9acf83c.tar.xz | |
net/mlx5: Support state get/set for satellite PF ports
Extend mlx5_devlink_pf_port_fn_state_get() to support satellite PF
vports by querying their vhca_state from the query_esw_functions output
using the vport's vhca_id.
Extend mlx5_devlink_pf_port_fn_state_set() to support satellite PFs by
using the generic mlx5_esw_pf_enable/disable_hca() functions.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260521110843.367329-11-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
