diff options
author | Petr Machata <petrm@mellanox.com> | 2018-04-29 10:56:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-30 12:42:40 -0400 |
commit | c520bc6986472621469f9dc1cec1a5dbbb4769bf (patch) | |
tree | 38d6215b18b829d0fa9370ce60121cb488299955 /drivers/net/ethernet/sis/sis900.c | |
parent | cda880de939ed81dbd310e2d6784451609fc5913 (diff) |
mlxsw: Respin SPAN on switchdev events
Changes to switchdev artifact can make a SPAN entry offloadable or
unoffloadable. To that end:
- Listen to SWITCHDEV_FDB_*_TO_BRIDGE notifications in addition to
the *_TO_DEVICE ones, to catch whatever activity is sent to the
bridge (likely by mlxsw itself).
On each FDB notification, respin SPAN to reconcile it with the FDB
changes.
- Also respin on switchdev port attribute changes (which currently
covers changes to STP state of ports) and port object additions and
removals.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sis/sis900.c')
0 files changed, 0 insertions, 0 deletions