All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/9] SJA1105 DSA driver preparation for new switch introduction (SJA1110)
@ 2021-05-24 13:14 Vladimir Oltean
  2021-05-24 13:14 ` [PATCH net-next 1/9] net: dsa: sja1105: parameterize the number of ports Vladimir Oltean
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Vladimir Oltean @ 2021-05-24 13:14 UTC (permalink / raw)
  To: Jakub Kicinski, David S. Miller, netdev
  Cc: Andrew Lunn, Vivien Didelot, Vladimir Oltean

From: Vladimir Oltean <vladimir.oltean@nxp.com>

This series contains refactoring patches which are necessary before the
support for the new NXP SJA1110 switch can be introduced in this driver.

As far as this series is concerned, here is the list of major changes
introduced with the SJA1110:
- 11 ports vs 5
- port 0 goes to the internal microcontroller, so it is unused as far as
  DSA is concerned
- the Clock Generation Unit does not need any configuration for
  setting up the PLLs for MII/RMII/RGMII
- the L2 Policing Table contains multicast policers too, not just
  broadcast and per-traffic class. These must be minimally initialized.
- more frame buffers

Vladimir Oltean (9):
  net: dsa: sja1105: parameterize the number of ports
  net: dsa: sja1105: avoid some work for unused ports
  net: dsa: sja1105: dimension the data structures for a larger port
    count
  net: dsa: sja1105: don't assign the host port using
    dsa_upstream_port()
  net: dsa: sja1105: skip CGU configuration if it's unnecessary
  net: dsa: sja1105: dynamically choose the number of static config
    table entries
  net: dsa: sja1105: use sja1105_xfer_u32 for the reset procedure
  net: dsa: sja1105: configure the multicast policers, if present
  net: dsa: sja1105: allow the frame buffer size to be customized

 drivers/net/dsa/sja1105/sja1105.h             |  35 ++--
 drivers/net/dsa/sja1105/sja1105_clocking.c    |  36 +++-
 drivers/net/dsa/sja1105/sja1105_flower.c      |  13 +-
 drivers/net/dsa/sja1105/sja1105_main.c        | 156 +++++++++++-------
 drivers/net/dsa/sja1105/sja1105_spi.c         |  41 ++---
 .../net/dsa/sja1105/sja1105_static_config.c   |  13 +-
 .../net/dsa/sja1105/sja1105_static_config.h   |   7 +-
 drivers/net/dsa/sja1105/sja1105_tas.c         |  14 +-
 drivers/net/dsa/sja1105/sja1105_tas.h         |   2 +-
 drivers/net/dsa/sja1105/sja1105_vl.c          |   2 +-
 10 files changed, 201 insertions(+), 118 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-05-24 21:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 13:14 [PATCH net-next 0/9] SJA1105 DSA driver preparation for new switch introduction (SJA1110) Vladimir Oltean
2021-05-24 13:14 ` [PATCH net-next 1/9] net: dsa: sja1105: parameterize the number of ports Vladimir Oltean
2021-05-24 13:14 ` [PATCH net-next 2/9] net: dsa: sja1105: avoid some work for unused ports Vladimir Oltean
2021-05-24 13:14 ` [PATCH net-next 3/9] net: dsa: sja1105: dimension the data structures for a larger port count Vladimir Oltean
2021-05-24 13:14 ` [PATCH net-next 4/9] net: dsa: sja1105: don't assign the host port using dsa_upstream_port() Vladimir Oltean
2021-05-24 13:14 ` [PATCH net-next 5/9] net: dsa: sja1105: skip CGU configuration if it's unnecessary Vladimir Oltean
2021-05-24 13:14 ` [PATCH net-next 6/9] net: dsa: sja1105: dynamically choose the number of static config table entries Vladimir Oltean
2021-05-24 13:14 ` [PATCH net-next 7/9] net: dsa: sja1105: use sja1105_xfer_u32 for the reset procedure Vladimir Oltean
2021-05-24 13:14 ` [PATCH net-next 8/9] net: dsa: sja1105: configure the multicast policers, if present Vladimir Oltean
2021-05-24 13:14 ` [PATCH net-next 9/9] net: dsa: sja1105: allow the frame buffer size to be customized Vladimir Oltean
2021-05-24 21:10 ` [PATCH net-next 0/9] SJA1105 DSA driver preparation for new switch introduction (SJA1110) patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.