From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: [PATCH v2 net-next 0/6] mv88e6xxx broadcast flooding in hardware Date: Tue, 7 Nov 2017 00:02:25 +0100 Message-ID: <1510009351-21875-1-git-send-email-andrew@lunn.ch> Cc: netdev , Vivien Didelot , Florian Fainelli , Andrew Lunn To: David Miller Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:45273 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751405AbdKFXFG (ORCPT ); Mon, 6 Nov 2017 18:05:06 -0500 Sender: netdev-owner@vger.kernel.org List-ID: 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