[RFC PATCH net-next 0/3] Offload learnt bridge addresses to DSA

From: Vladimir Oltean
Date: Sun Nov 08 2020 - 08:20:56 EST


This small series tries to make DSA behave a bit more sanely when
bridged with "foreign" (non-DSA) interfaces. When a station A connected
to a DSA switch port needs to talk to another station B connected to a
non-DSA port through the Linux bridge, DSA must explicitly add a route
for station B towards its CPU port. It cannot rely on hardware address
learning for that.

Vladimir Oltean (3):
net: dsa: don't use switchdev_notifier_fdb_info in
dsa_switchdev_event_work
net: dsa: move switchdev event implementation under the same
switch/case statement
net: dsa: listen for SWITCHDEV_{FDB,DEL}_ADD_TO_DEVICE on foreign
bridge neighbors

net/dsa/dsa_priv.h | 12 ++++
net/dsa/slave.c | 160 +++++++++++++++++++++++++++------------------
2 files changed, 110 insertions(+), 62 deletions(-)

--
2.25.1