aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2023-05-17 13:59:34 +0200
committerSaeed Mahameed <[email protected]>2023-09-19 23:33:06 -0700
commit9caeb1475c3e852bcfa6332227c6bb2feaa8eb23 (patch)
treefbda55371574bee0b3c108e62b41f5d33112bdac /tools/perf/scripts/python/gecko.py
parent2597ee190b4eb48d3b7d35b7bb2cc18046ae087e (diff)
net/mlx5: Use devlink port pointer to get the pointer of container SF struct
Benefit from the fact that struct devlink_port is eventually embedded in struct mlx5_sf and use container_of() macro to get it instead of the xarray lookup in every devlink port op. 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/gecko.py')
0 files changed, 0 insertions, 0 deletions