netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/6] net: dsa: mv88e6131: HW bridging support for 6185
@ 2016-03-31 20:53 Vivien Didelot
  2016-03-31 20:53 ` [PATCH net-next v2 1/6] net: dsa: mv88e6xxx: protect SID register access Vivien Didelot
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Vivien Didelot @ 2016-03-31 20:53 UTC (permalink / raw)
  To: netdev; +Cc: linux-kernel, kernel, David S. Miller, Andrew Lunn,
	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.

Changes v1 -> v2:
 - Describe the different numbers of databases and prefer a feature-based logic
   over the current ID/family-based logic.

Vivien Didelot (6):
  net: dsa: mv88e6xxx: protect SID register access
  net: dsa: mv88e6xxx: protect FID registers access
  net: dsa: mv88e6xxx: variable number of databases
  net: dsa: mv88e6xxx: support 256 databases
  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 | 134 +++++++++++++++++++++++++++++++++++---------
 2 files changed, 118 insertions(+), 27 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2016-04-05  1:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-31 20:53 [PATCH net-next v2 0/6] net: dsa: mv88e6131: HW bridging support for 6185 Vivien Didelot
2016-03-31 20:53 ` [PATCH net-next v2 1/6] net: dsa: mv88e6xxx: protect SID register access Vivien Didelot
2016-03-31 20:53 ` [PATCH net-next v2 2/6] net: dsa: mv88e6xxx: protect FID registers access Vivien Didelot
2016-03-31 20:53 ` [PATCH net-next v2 3/6] net: dsa: mv88e6xxx: variable number of databases Vivien Didelot
2016-03-31 20:53 ` [PATCH net-next v2 4/6] net: dsa: mv88e6xxx: support 256 databases Vivien Didelot
2016-03-31 20:53 ` [PATCH net-next v2 5/6] net: dsa: mv88e6xxx: map destination addresses for 6185 Vivien Didelot
2016-03-31 20:53 ` [PATCH net-next v2 6/6] net: dsa: mv88e6131: enable hardware bridging Vivien Didelot
2016-04-01 12:45 ` [PATCH net-next v2 0/6] net: dsa: mv88e6131: HW bridging support for 6185 Andrew Lunn
2016-04-01 13:38   ` Vivien Didelot
2016-04-04  2:13 ` Andrew Lunn
2016-04-05  1:31   ` David Miller

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).