diff options
| author | Moshe Shemesh <moshe@nvidia.com> | 2026-05-21 14:08:39 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-25 23:48:51 +0300 |
| commit | e020a70672956b9d793ab7634f12f7d1ed122a59 (patch) | |
| tree | a564f36f9d428b0428aaaacb194a1abdf4842d0e /include/linux/errqueue.h | |
| parent | 90a6aabb74a4451cd72243a28f322dc28f158294 (diff) | |
| download | linux-e020a70672956b9d793ab7634f12f7d1ed122a59.tar.xz | |
net/mlx5: Register devlink ports for satellite PFs
Include satellite PFs in mlx5_eswitch_is_pf_vf_vport() so they receive
the standard PF/VF devlink port operations. Update
mlx5_esw_devlink_port_supported() and devlink port attribute setup to
register SPF devlink ports with controller number and PF number.
Add mlx5_esw_spf_vport_to_idx() to look up the SPF array index by vport
number, and mlx5_esw_is_spf_vport() boolean wrapper to identify
satellite PF vports.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260521110843.367329-9-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
