netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] net: dsa: mv88e6xxx: fix hardware bridging
@ 2015-10-11 22:08 Vivien Didelot
  2015-10-11 22:08 ` [PATCH net-next 1/4] net: dsa: mv88e6xxx: bridges do not need an FID Vivien Didelot
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Vivien Didelot @ 2015-10-11 22:08 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, kernel, David S. Miller, Guenter Roeck, Andrew Lunn,
	Florian Fainelli, Neil Armstrong, Vivien Didelot

DSA and its drivers currently hook the NETDEV_CHANGEUPPER net_device event in
order to configure the VLAN map of every port.

This VLAN map is a feature of these switch chips to hardcode and restrict which
output ports a given input port can egress frames to.

A Linux bridge is a simple untagged VLAN propagated by the bridge code itself.
With a proper 802.1Q support, a driver does not need this hook anymore, and
will simply program the related VLAN object.

This patchset improves the hardware bridging code in the mv88e6xxx driver with
a strict 802.1Q mode.

Ideally, the equivalent must be done for Broadcom Starfighter 2 and Rocker,
before completely getting rid of this hook.

Vivien Didelot (4):
  net: dsa: mv88e6xxx: bridges do not need an FID
  net: dsa: mv88e6xxx: do not support per-port FID
  net: dsa: do not warn unsupported bridge ops
  net: dsa: mv88e6xxx: fix hardware bridging

 drivers/net/dsa/mv88e6171.c |   2 -
 drivers/net/dsa/mv88e6352.c |   2 -
 drivers/net/dsa/mv88e6xxx.c | 215 ++++++--------------------------------------
 drivers/net/dsa/mv88e6xxx.h |   8 --
 net/dsa/slave.c             |   2 +-
 5 files changed, 26 insertions(+), 203 deletions(-)

-- 
2.6.0

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

end of thread, other threads:[~2015-10-15 12:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-11 22:08 [PATCH net-next 0/4] net: dsa: mv88e6xxx: fix hardware bridging Vivien Didelot
2015-10-11 22:08 ` [PATCH net-next 1/4] net: dsa: mv88e6xxx: bridges do not need an FID Vivien Didelot
2015-10-11 22:08 ` [PATCH net-next 2/4] net: dsa: mv88e6xxx: do not support per-port FID Vivien Didelot
2015-10-11 22:08 ` [PATCH net-next 3/4] net: dsa: do not warn unsupported bridge ops Vivien Didelot
2015-10-11 22:08 ` [PATCH net-next 4/4] net: dsa: mv88e6xxx: fix hardware bridging Vivien Didelot
2015-10-13 11:27 ` [PATCH net-next 0/4] " David Miller
2015-10-14 22:46 ` Andrew Lunn
2015-10-15  1:28   ` Vivien Didelot
2015-10-15  1:44     ` Florian Fainelli
2015-10-15 12:39       ` Vivien Didelot
2015-10-15  2:52     ` Andrew Lunn
2015-10-15  3:16       ` Guenter Roeck
2015-10-15 12:41       ` Vivien Didelot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).