public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] net: enetc: improve statistics for v1 and add statistics for v4
@ 2026-04-08  5:58 Wei Fang
  2026-04-08  5:58 ` [PATCH net-next 1/5] net: enetc: add support for the standardized counters Wei Fang
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Wei Fang @ 2026-04-08  5:58 UTC (permalink / raw)
  To: claudiu.manoil, vladimir.oltean, xiaoning.wang, andrew+netdev,
	davem, edumazet, kuba, pabeni
  Cc: netdev, linux-kernel, imx

For ENETC v1, some standardized statistics were redundantly included in
the unstructured statistics, so remove these duplicated entries.
Previously, the unstructured statistics only contained eMAC data and
did not include pMAC data; add pMAC statistics to ensure completeness.

For ENETC v4, the driver previously reported MAC statistics only for the
internal ENETC (Pseudo MAC). Extend the implementation to provide
additional statistics for both the internal ENETC and the standalone
ENETC.

Wei Fang (5):
  net: enetc: add support for the standardized counters
  net: enetc: show RX drop counters only for assigned RX rings
  net: enetc: remove standardized counters from enetc_pm_counters
  net: enetc: add unstructured pMAC counters for ENETC v1
  net: enetc: add unstructured counters for ENETC v4

 drivers/net/ethernet/freescale/enetc/enetc.h  |   2 +
 .../net/ethernet/freescale/enetc/enetc4_hw.h  | 192 ++++++++
 .../ethernet/freescale/enetc/enetc_ethtool.c  | 427 +++++++++++++-----
 3 files changed, 519 insertions(+), 102 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-04-08  6:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-08  5:58 [PATCH net-next 0/5] net: enetc: improve statistics for v1 and add statistics for v4 Wei Fang
2026-04-08  5:58 ` [PATCH net-next 1/5] net: enetc: add support for the standardized counters Wei Fang
2026-04-08  5:58 ` [PATCH net-next 2/5] net: enetc: show RX drop counters only for assigned RX rings Wei Fang
2026-04-08  5:58 ` [PATCH net-next 3/5] net: enetc: remove standardized counters from enetc_pm_counters Wei Fang
2026-04-08  5:58 ` [PATCH net-next 4/5] net: enetc: add unstructured pMAC counters for ENETC v1 Wei Fang
2026-04-08  5:58 ` [PATCH net-next 5/5] net: enetc: add unstructured counters for ENETC v4 Wei Fang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox