This is an extension of previous work done by Vladimir Oltean: https://lore.kernel.org/netdev/20210106095136.224739-1-olte...@gmail.com/
With this series, local addresses belonging to bridge ports or to the bridge itself are also synced down to the hardware FDB. As a result the hardware can avoid flooding return traffic to the CPU which is not only inefficient but also very confusing to users: https://lore.kernel.org/netdev/cagwvh_maqwukuhu5vuyjibmyn-frxcxxhrqbrm34gshzpsn...@mail.gmail.com/ https://lore.kernel.org/netdev/6106e3d5-31fc-388e-d4ac-c84ac0746...@prevas.dk/ Patch 1 through 3 extends the switchdev fdb notifications to include the local flag, and to handle the case when an entry is added to the bridge itself. Patches 4 through 6 enables DSA to make use of those extensions. Finally, enable assisted learning on the CPU port for mv88e6xxx. Tobias Waldekranz (7): net: bridge: switchdev: Refactor br_switchdev_fdb_notify net: bridge: switchdev: Include local flag in FDB notifications net: bridge: switchdev: Send FDB notifications for host addresses net: dsa: Include local addresses in assisted CPU port learning net: dsa: Include bridge addresses in assisted CPU port learning net: dsa: Sync static FDB entries on foreign interfaces to hardware net: dsa: mv88e6xxx: Request assisted learning on CPU port drivers/net/dsa/mv88e6xxx/chip.c | 1 + include/net/switchdev.h | 1 + net/bridge/br_fdb.c | 4 +-- net/bridge/br_private.h | 7 +++-- net/bridge/br_switchdev.c | 47 ++++++++++---------------------- net/dsa/slave.c | 26 ++++++++++++------ 6 files changed, 40 insertions(+), 46 deletions(-) -- 2.17.1