netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] dsa: mv88e6xxx: Refactor statistics ready for RMU support
@ 2024-12-07 21:18 Andrew Lunn
  2024-12-07 21:18 ` [PATCH 1/2] dsa: mv88e6xxx: Move available stats into info structure Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andrew Lunn @ 2024-12-07 21:18 UTC (permalink / raw)
  To: Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: netdev, linux-kernel, Andrew Lunn

Marvell Ethernet switches support sending commands to the switch
inside Ethernet frames, which the Remote Management Unit, RMU,
handles. One such command retries all the RMON statistics. The
switches however have other statistics which cannot be retried by this
bulk method, so need to be gathered individually.

This patch series refactors the existing statistics code into a
structure that will allow RMU integration in a future patchset.

There should be no functional change as a result of this refactoring.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
Andrew Lunn (2):
      dsa: mv88e6xxx: Move available stats into info structure
      dsa: mv88e6xxx: Centralise common statistics check

 drivers/net/dsa/mv88e6xxx/chip.c | 49 ++++++++++++++++++++++++++++++----------
 drivers/net/dsa/mv88e6xxx/chip.h |  1 +
 2 files changed, 38 insertions(+), 12 deletions(-)
---
base-commit: 860dbab69ad8d07a91117ed9c9eb5fb64adf7e0e
change-id: 20241207-v6-13-rc1-net-next-mv88e6xxx-stats-refactor-8a7cadcdd26b

Best regards,
-- 
Andrew Lunn <andrew@lunn.ch>


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

end of thread, other threads:[~2024-12-11  2:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-07 21:18 [PATCH 0/2] dsa: mv88e6xxx: Refactor statistics ready for RMU support Andrew Lunn
2024-12-07 21:18 ` [PATCH 1/2] dsa: mv88e6xxx: Move available stats into info structure Andrew Lunn
2024-12-10 14:07   ` Simon Horman
2024-12-07 21:18 ` [PATCH 2/2] dsa: mv88e6xxx: Centralise common statistics check Andrew Lunn
2024-12-10 14:08   ` Simon Horman
2024-12-11  2:30 ` [PATCH 0/2] dsa: mv88e6xxx: Refactor statistics ready for RMU support patchwork-bot+netdevbpf

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