diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-05-25 10:01:02 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-08-22 21:34:16 -0700 |
commit | d9833bcfe840fff5d368b1c7c68e05c95be8d19c (patch) | |
tree | 70d8005fc8b576071ade7476b4bd77823712e9ad /tools/perf/scripts/python/task-analyzer.py | |
parent | 638002252544a20f3f62ffb2cadbfa70207bd9b8 (diff) |
net/mlx5: Push devlink port PF/VF init/cleanup calls out of devlink_port_register/unregister()
In order to prepare for
mlx5_esw_offloads_devlink_port_register/unregister() to be used
for SFs as well, push out the PF/VF specific init/cleanup calls outside.
Introduce mlx5_eswitch_load/unload_pf_vf_vport() and call them from
there. Use these new helpers of PF/VF loading and make
mlx5_eswitch_local/unload_vport() reusable for SFs.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions