Ethernet Bridge development
 help / color / mirror / Atom feed
* [Bridge] [RFC net-next 0/3] net: bridge: Allow CPU port configuration
@ 2016-11-21 19:09 Florian Fainelli
  2016-11-21 19:09 ` [Bridge] [RFC net-next 1/3] net: bridge: Allow bridge master device to configure switch CPU port Florian Fainelli
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Florian Fainelli @ 2016-11-21 19:09 UTC (permalink / raw)
  To: netdev
  Cc: idosch, andrew, Florian Fainelli, vivien.didelot, bridge, jiri,
	davem

Hi all,

This patch series allows using the bridge master interface to configure
an Ethernet switch port's CPU/management port with different VLAN attributes than
those of the bridge downstream ports/members.

Jiri, Ido, Andrew, Vivien, please review the impact on mlxsw and mv88e6xxx, I
tested this with b53 and a mockup DSA driver.

Open questions:

- if we have more than one bridge on top of a physical switch, the driver
  should keep track of that and verify that we are not going to change
  the CPU port VLAN attributes in a way that results in incompatible settings
  to be applied

- if the default behavior is to have all VLANs associated with the CPU port
  be ingressing/egressing tagged to the CPU, is this really useful?

Florian Fainelli (3):
  net: bridge: Allow bridge master device to configure switch CPU port
  net: dsa: Propagate VLAN add/del to CPU port(s)
  net: dsa: b53: Remove CPU port specific VLAN programming

 drivers/net/dsa/b53/b53_common.c | 22 ++++++--------------
 net/bridge/br_vlan.c             | 28 ++++++++++++++++++++++---
 net/dsa/slave.c                  | 45 +++++++++++++++++++++++++++++-----------
 3 files changed, 64 insertions(+), 31 deletions(-)

-- 
2.9.3


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-12-01 20:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-21 19:09 [Bridge] [RFC net-next 0/3] net: bridge: Allow CPU port configuration Florian Fainelli
2016-11-21 19:09 ` [Bridge] [RFC net-next 1/3] net: bridge: Allow bridge master device to configure switch CPU port Florian Fainelli
2016-11-22 15:46   ` Vivien Didelot
2016-11-24  1:49     ` Toshiaki Makita
2016-11-21 19:09 ` [Bridge] [RFC net-next 2/3] net: dsa: Propagate VLAN add/del to CPU port(s) Florian Fainelli
2016-11-22 16:50   ` Vivien Didelot
2016-11-28  4:30     ` Florian Fainelli
2016-11-21 19:09 ` [Bridge] [RFC net-next 3/3] net: dsa: b53: Remove CPU port specific VLAN programming Florian Fainelli
2016-11-22 15:29 ` [Bridge] [RFC net-next 0/3] net: bridge: Allow CPU port configuration Vivien Didelot
2016-11-22 17:41 ` Ido Schimmel
2016-11-22 17:56   ` Florian Fainelli
2016-11-23 13:48     ` Ido Schimmel
2016-12-01 20:21       ` Florian Fainelli
     [not found]   ` <20161122174829.GD14947@lunn.ch>
     [not found]     ` <20161122220859.GF1819@nanopsycho>
2016-11-23  0:24       ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox