[PATCH net-next 0/5] net: enetc: improve statistics for v1 and add statistics for v4

From: Wei Fang

Date: Wed Apr 08 2026 - 02:24:41 EST


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