diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2021-03-10 14:14:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-10 13:30:36 -0800 |
commit | 685b480145c15b81c411ad8b9a6b74a472274793 (patch) | |
tree | 8375cf4ec34e28481f91e51f7d96b01bc4c59f55 /tools/perf/scripts/python/stackcollapse.py | |
parent | d671407fccbb022ab6004bd8a8d5f1e970f2ba2e (diff) |
staging: dpaa2-switch: add fast-ageing on bridge leave
Upon leaving a bridge, any MAC addresses learnt on the switch port prior
to this point have to be removed so that we preserve the bridging domain
configuration.
Restructure the dpaa2_switch_port_fdb_dump() function in order to have a
common dpaa2_switch_fdb_iterate() function between the FDB dump callback
and the fast age procedure. To accomplish this, add a new callback -
dpaa2_switch_fdb_cb_t - which will be called on each MAC addr and,
depending on the situation, will either dump the FDB entry into a
netlink message or will delete the address from the FDB table, in case
of the fast-age.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions