summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-06-21 00:04:06 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-21 12:02:49 +0300
commit7117a570b93b8c1f0e20d4efd2695abe929c1fc4 (patch)
tree347d41b9c5065869af918082d5e3e2865763bf2f /tools/perf/scripts/python/sched-migration.py
parent279438952b7f5423f33ce4ddf639a7e796377b59 (diff)
downloadlinux-7117a570b93b8c1f0e20d4efd2695abe929c1fc4.tar.xz
mlxsw: spectrum: Centralize VLAN-aware bridge ref counting
We hold a reference count on the number of ports member in the VLAN-aware bridge, as we only support one. Instead of always incrementing / decrementing the reference count after joining / leaving the bridge, simply do this accounting in the join / leave functions. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions