Skip to content

net: enetc: improve statistics for v1 and add statistics for v4

Wei Fang imx lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: enetc: add support for the standardized countersdrivers/net/ethernet/freescale/enetc/enetc.h drivers/net/ethernet/freescale/enetc/enetc4_hw.h drivers/net/ethernet/freescale/enetc/enetc_ethtool.c+245 -180 repliesApplied
2/5net: enetc: show RX drop counters only for assigned RX ringsdrivers/net/ethernet/freescale/enetc/enetc_ethtool.c+2 -160 repliesApplied
3/5net: enetc: remove standardized counters from enetc_pm_countersdrivers/net/ethernet/freescale/enetc/enetc_ethtool.c+0 -400 repliesApplied
4/5net: enetc: add unstructured pMAC counters for ENETC v1drivers/net/ethernet/freescale/enetc/enetc_ethtool.c+56 -210 repliesApplied
5/5net: enetc: add unstructured counters for ENETC v4drivers/net/ethernet/freescale/enetc/enetc4_hw.h drivers/net/ethernet/freescale/enetc/enetc_ethtool.c+234 -250 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.34.1