This patchset makes the mv88e6xxx driver perform flooding in hardware, rather than let the software bridge perform the flooding. This is a prerequisite for IGMP snooping on the bridge interface.
In order to make hardware broadcasting work, a few other issues need fixing or improving. SWITCHDEV_ATTR_ID_PORT_PARENT_ID is broken, which is apparent when testing on the ZII devel board with multiple switches. Some of these patches are taken from a previous RFC patchset of IGMP support. Andrew Lunn (6): net: dsa: Fix SWITCHDEV_ATTR_ID_PORT_PARENT_ID net: dsa: {e}dsa: set offload_fwd_mark on received packets net: dsa: mv88e6xxx: Fixed port netdev check for VLANs net: dsa: mv88e6xxx: Print offending port when vlan check fails net: dsa: mv88e6xxx: Move mv88e6xxx_port_db_load_purge() net: dsa: mv88e6xxx: Flood broadcast frames in hardware drivers/net/dsa/mv88e6xxx/chip.c | 127 ++++++++++++++++++++++++--------------- net/dsa/slave.c | 5 +- net/dsa/tag_dsa.c | 2 + net/dsa/tag_edsa.c | 2 + 4 files changed, 86 insertions(+), 50 deletions(-) -- 2.15.0