aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2023-05-31 13:36:43 +0200
committerSaeed Mahameed <[email protected]>2023-08-22 21:34:18 -0700
commit7d8335200c94f6f76fbc3a1682993888bc4eb665 (patch)
tree5a5e98818be3b611c3981cf317ae53be4365fc0a /tools/perf/scripts/python/net_dropmonitor.py
parenteb555e34f0841c880f709559d58866ff9d9321a1 (diff)
net/mlx5: Store vport in struct mlx5_devlink_port and use it in port ops
Instead of using internal devlink_port->index to perform vport lookup in every devlink port op, store the vport pointer to the container struct mlx5_devlink_port and use it directly in port ops. Signed-off-by: Jiri Pirko <[email protected]> Reviewed-by: Shay Drory <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions