Message ID | 20210524131421.1030789-1-olteanv@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | SJA1105 DSA driver preparation for new switch introduction (SJA1110) | expand |
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Mon, 24 May 2021 16:14:12 +0300 you wrote: > 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 > > [...] Here is the summary with links: - [net-next,1/9] net: dsa: sja1105: parameterize the number of ports https://git.kernel.org/netdev/net-next/c/542043e91df4 - [net-next,2/9] net: dsa: sja1105: avoid some work for unused ports https://git.kernel.org/netdev/net-next/c/f238fef1b3de - [net-next,3/9] net: dsa: sja1105: dimension the data structures for a larger port count https://git.kernel.org/netdev/net-next/c/82760d7f2ea6 - [net-next,4/9] net: dsa: sja1105: don't assign the host port using dsa_upstream_port() https://git.kernel.org/netdev/net-next/c/df2a81a35ebb - [net-next,5/9] net: dsa: sja1105: skip CGU configuration if it's unnecessary https://git.kernel.org/netdev/net-next/c/c50376783f23 - [net-next,6/9] net: dsa: sja1105: dynamically choose the number of static config table entries https://git.kernel.org/netdev/net-next/c/fd6f2c257b0b - [net-next,7/9] net: dsa: sja1105: use sja1105_xfer_u32 for the reset procedure https://git.kernel.org/netdev/net-next/c/f78a2517cf73 - [net-next,8/9] net: dsa: sja1105: configure the multicast policers, if present https://git.kernel.org/netdev/net-next/c/38fbe91f2287 - [net-next,9/9] net: dsa: sja1105: allow the frame buffer size to be customized https://git.kernel.org/netdev/net-next/c/1bf658eefe38 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
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(-)