summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@nvidia.com>2023-03-13 16:22:49 +0100
committerSaeed Mahameed <saeedm@nvidia.com>2023-04-11 20:57:36 -0700
commitb99c4ef29e278ab0b91406e52df4fa9b634b117e (patch)
tree4c1e2d907e0749c6e675a26ba0964f8e40998f1e /tools/perf/scripts/python/exported-sql-viewer.py
parent6767c97d7adc3c4283c0167a9716de3953f251b1 (diff)
net/mlx5: Bridge, extract code to lookup parent bridge of port
The pattern when function looks up a port by vport_num+vhca_id tuple in order to just obtain its parent bridge is repeated multiple times in bridge.c file. Further commits in this series use the pattern even more. Extract the pattern to standalone mlx5_esw_bridge_from_port_lookup() function to improve code readability. This commits doesn't change functionality. Signed-off-by: Vlad Buslov <vladbu@nvidia.com> Reviewed-by: Maor Dickman <maord@nvidia.com> Reviewed-by: Roi Dayan <roid@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