[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190130073820.GB22227@splinter>
Date: Wed, 30 Jan 2019 07:38:22 +0000
From: Ido Schimmel <idosch@...lanox.com>
To: Florian Fainelli <f.fainelli@...il.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"andrew@...n.ch" <andrew@...n.ch>,
"vivien.didelot@...il.com" <vivien.didelot@...il.com>,
"davem@...emloft.net" <davem@...emloft.net>,
Jiri Pirko <jiri@...lanox.com>,
"ilias.apalodimas@...aro.org" <ilias.apalodimas@...aro.org>,
"ivan.khoronzhuk@...aro.org" <ivan.khoronzhuk@...aro.org>,
"roopa@...ulusnetworks.com" <roopa@...ulusnetworks.com>,
"nikolay@...ulusnetworks.com" <nikolay@...ulusnetworks.com>
Subject: Re: [PATCH net-next v2 00/12] net: dsa: management mode for bcm_sf2
On Tue, Jan 29, 2019 at 04:55:36PM -0800, Florian Fainelli wrote:
> Hi all,
>
> This patch series does a number of things in order to enable management
> mode for bcm_sf2 (which could be easily extended to b53 with proper
> testing later on). In order to get there, there were several use cases
> that did not work correctly and that needed to be fixed:
>
> - VLAN devices on top of switch ports not being member of a bridge, with
> other switch ports being bridged, with the bridge having VLAN
> filtering enabled.
>
> - lack of multicast filtering by default on network ports which should
> be happening in order for the non-bridged DSA ports to behave strictly
> as Ethernet NICs with proper filering. This is accomplished by hooking
> a ndo_set_rx_mode() function to the DSA slave network devices
>
> - when VLAN filtering is globally enabled on the switch (because at
> least a bridge device requires it), then we also need to make sure
> that when doing multicast over VLAN devices over a switch port
> (bridged or not) happens with the correct MDB address *and* VID
>
> Hopefully the changes to net/8021q and net/bridge are deemed acceptable.
You're not touching net/8021q :) Probably leftover from v1
...
>
> drivers/net/dsa/b53/b53_common.c | 257 +++++++++++++++++++--
> drivers/net/dsa/b53/b53_priv.h | 14 +-
> drivers/net/dsa/b53/b53_regs.h | 22 ++
> drivers/net/dsa/bcm_sf2.c | 56 +++--
> drivers/net/dsa/bcm_sf2_regs.h | 5 +
> drivers/net/ethernet/broadcom/bcmsysport.c | 4 +
> include/net/dsa.h | 2 +
> net/bridge/br_multicast.c | 23 +-
> net/dsa/dsa_priv.h | 22 +-
> net/dsa/port.c | 42 +++-
> net/dsa/slave.c | 107 ++++++++-
> net/dsa/switch.c | 57 +++++
> 12 files changed, 552 insertions(+), 59 deletions(-)
>
> --
> 2.17.1
>
Powered by blists - more mailing lists