Message ID | 20241207-v6-13-rc1-net-next-mv88e6xxx-stats-refactor-v1-0-b9960f839846@lunn.ch (mailing list archive) |
---|---|
Headers | show |
Series | dsa: mv88e6xxx: Refactor statistics ready for RMU support | expand |
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Sat, 07 Dec 2024 15:18:43 -0600 you wrote: > 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. > > [...] Here is the summary with links: - [1/2] dsa: mv88e6xxx: Move available stats into info structure https://git.kernel.org/netdev/net-next/c/5595e3613ea7 - [2/2] dsa: mv88e6xxx: Centralise common statistics check https://git.kernel.org/netdev/net-next/c/9a4eef6bf2be You are awesome, thank you!
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,