diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-05-31 14:14:50 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-08-22 21:34:17 -0700 |
commit | 2caa2a39116f07fd06778052a90b3e35bc262c44 (patch) | |
tree | aeb34887e16f5cb81e7f82a4b6a2c3cd2d54fc5d /tools/perf/scripts/python/task-analyzer.py | |
parent | 2c5f33f6b9406cc092998cdc96ed015e73cb581b (diff) |
net/mlx5: Reduce number of vport lookups passing vport pointer instead of index
During devlink port init/cleanup and register/unregister calls, there
are many lookups of vport. Instead of passing vport_num as argument to
functions, pass the vport struct pointer directly and avoid repeated
lookups.
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