diff options
| author | Moshe Shemesh <moshe@nvidia.com> | 2026-05-21 14:08:32 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-25 23:48:51 +0300 |
| commit | ed9671b8bd4f084b9b2798d3892c3c83f3c1010c (patch) | |
| tree | d44a89021b0186cc5ca763739c9b886160fa1477 /include/linux/debugobjects.h | |
| parent | 640656c30a6a89f7b34568b0f632a5fe007ff9d0 (diff) | |
| download | linux-ed9671b8bd4f084b9b2798d3892c3c83f3c1010c.tar.xz | |
net/mlx5: Add satellite PF vport support
Discover satellite PFs from query_esw_functions output and allocate
eswitch vports for them. For each satellite PF, create a vport via the
CREATE_ESW_VPORT command using its vhca_id and allocate it in the
eswitch vport table.
When enabling switchdev mode, the ECPF acting as the eswitch manager
activates each satellite PF with enable_hca, loads its vport and adds
a representor. Since satellite PF devlink ports are registered in a
later patch, guard mlx5_esw_offloads_devlink_port() against vports
with no devlink port to avoid NULL dereference during representor
attach.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260521110843.367329-2-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
