netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] net: dsa: mv88e6xxx: HW bridging support for 6185
@ 2016-03-27  1:59 Vivien Didelot
  2016-03-27  1:59 ` [PATCH net-next 1/7] net: dsa: mv88e6xxx: 6185 port default FID is 8-bit Vivien Didelot
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Vivien Didelot @ 2016-03-27  1:59 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, kernel, David S. Miller, Andrew Lunn,
	Patrick Uiterwijk, Guenter Roeck, Vivien Didelot

All packets passing through a switch of the 6185 family are currently all
directed to the CPU port. This means that port bridging is software driven.

To enable hardware bridging for this switch family, we need to implement the
port mapping operations, the FDB operations, and optionally the VLAN operations
(for 802.1Q and VLAN filtering aware systems).

However this family only has 256 FDBs indexed by 8-bit identifiers, opposed to
4096 FDBs with 12-bit identifiers for other families such as 6352. It also
doesn't have dedicated FID registers for ATU and VTU operations.

This patchset fixes these differences, and enable hardware bridging for 6185.

Vivien Didelot (7):
  net: dsa: mv88e6xxx: 6185 port default FID is 8-bit
  net: dsa: mv88e6xxx: 6185 has only 256 FDBs
  net: dsa: mv88e6xxx: write FID in ATU command
  net: dsa: mv88e6xxx: fix ATU FID access for 6185
  net: dsa: mv88e6xxx: fix VTU FID access for 6185
  net: dsa: mv88e6xxx: map destination addresses for 6185
  net: dsa: mv88e6131: enable hardware bridging

 drivers/net/dsa/mv88e6131.c | 11 ++++++
 drivers/net/dsa/mv88e6xxx.c | 84 ++++++++++++++++++++++++++++++++-------------
 drivers/net/dsa/mv88e6xxx.h |  7 ++--
 3 files changed, 76 insertions(+), 26 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2016-03-27  3:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-27  1:59 [PATCH net-next 0/7] net: dsa: mv88e6xxx: HW bridging support for 6185 Vivien Didelot
2016-03-27  1:59 ` [PATCH net-next 1/7] net: dsa: mv88e6xxx: 6185 port default FID is 8-bit Vivien Didelot
2016-03-27  1:59 ` [PATCH net-next 2/7] net: dsa: mv88e6xxx: 6185 has only 256 FDBs Vivien Didelot
2016-03-27  2:52   ` Andrew Lunn
2016-03-27  1:59 ` [PATCH net-next 3/7] net: dsa: mv88e6xxx: write FID in ATU command Vivien Didelot
2016-03-27  1:59 ` [PATCH net-next 4/7] net: dsa: mv88e6xxx: fix ATU FID access for 6185 Vivien Didelot
2016-03-27  3:04   ` Andrew Lunn
2016-03-27  1:59 ` [PATCH net-next 5/7] net: dsa: mv88e6xxx: fix VTU " Vivien Didelot
2016-03-27  1:59 ` [PATCH net-next 6/7] net: dsa: mv88e6xxx: map destination addresses " Vivien Didelot
2016-03-27  1:59 ` [PATCH net-next 7/7] net: dsa: mv88e6131: enable hardware bridging 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).