aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2020-05-10 19:37:42 +0300
committerJakub Kicinski <[email protected]>2020-05-10 19:52:33 -0700
commit3b7bc1f09101ccace330d105c13c2946bf3be6d5 (patch)
tree8a6adf3d5acc84c8ed1530f3b8579e03dd7972c6 /tools/perf/scripts/python/net_dropmonitor.py
parentf66a6a69f97a24546664541237a82b288c2713f6 (diff)
net: dsa: introduce a dsa_switch_find function
Somewhat similar to dsa_tree_find, dsa_switch_find returns a dsa_switch structure pointer by searching for its tree index and switch index (the parameters from dsa,member). To be used, for example, by drivers who implement .crosschip_bridge_join and need a reference to the other switch indicated to by the tree_index and sw_index arguments. Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions