diff options
author | 2023-05-31 14:14:50 +0200 | |
---|---|---|
committer | 2023-08-22 21:34:17 -0700 | |
commit | 2caa2a39116f07fd06778052a90b3e35bc262c44 (patch) | |
tree | aeb34887e16f5cb81e7f82a4b6a2c3cd2d54fc5d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net/mlx5: Embed struct devlink_port into driver structure (diff) | |
download | wireguard-linux-2caa2a39116f07fd06778052a90b3e35bc262c44.tar.xz wireguard-linux-2caa2a39116f07fd06778052a90b3e35bc262c44.zip |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions