aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2018-12-20 19:42:32 +0000
committerDavid S. Miller <[email protected]>2018-12-20 15:48:54 -0800
commit16f6aceb72e7e27efae092c1020c5f0b312a4745 (patch)
tree2b1ae26ca9a769c3ff37dbde5354e01964281cbd /tools/perf/scripts/python/sched-migration.py
parent346fca3b58cbe0505f4328276e46e22ffc9a11d8 (diff)
mlxsw: spectrum: Add an helper function to cleanup VLAN entries
VLAN entries on a port can be associated with either a bridge VLAN or a router port. Before the VLAN entry is destroyed these associations need to be cleaned up. Currently, this is always invoked from the function which destroys the VLAN entry, but next patch is going to skip the destruction of the default entry when a port in unlinked from a LAG. The above does not mean that the associations should not be cleaned up, so add a helper that will be invoked from both call sites. Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Petr Machata <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions