diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-05-24 17:46:47 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-08-22 21:34:15 -0700 |
commit | 4c0dac1ef8abc6295a91197884f5ceb5d11c2bd9 (patch) | |
tree | 266995db6f4a985760f8e26edda821d24c495602 /tools/perf/scripts/python/task-analyzer.py | |
parent | 6176b8c4a19e150c4176b1ed93174e2f5965c4b5 (diff) |
net/mlx5: Rework devlink port alloc/free into init/cleanup
In order to prepare the devlink port registration function to be common
for PFs/VFs and SFs, change the existing devlink port allocation and
free functions into PF/VF init and cleanup, so similar helpers could be
later on introduced for SFs. Make the init/cleanup helpers responsible
for setting/clearing the vport->dl_port pointer.
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