[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241207-v6-13-rc1-net-next-mv88e6xxx-stats-refactor-v1-0-b9960f839846@lunn.ch>
Date: Sat, 07 Dec 2024 15:18:43 -0600
From: Andrew Lunn <andrew@...n.ch>
To: Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Andrew Lunn <andrew@...n.ch>
Subject: [PATCH 0/2] dsa: mv88e6xxx: Refactor statistics ready for RMU
support
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@...n.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@...n.ch>
Powered by blists - more mailing lists