aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2023-03-13 16:22:49 +0100
committerSaeed Mahameed <[email protected]>2023-04-11 20:57:36 -0700
commitb99c4ef29e278ab0b91406e52df4fa9b634b117e (patch)
tree4c1e2d907e0749c6e675a26ba0964f8e40998f1e /scripts/gdb/linux/tasks.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 <[email protected]> Reviewed-by: Maor Dickman <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions