]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: enetc: add support for the standardized counters
authorWei Fang <wei.fang@nxp.com>
Wed, 8 Apr 2026 05:58:45 +0000 (13:58 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 20:03:48 +0000 (13:03 -0700)
commitc6c223fd06edbc34c7b04170e375abfb2a13cbf8
treee63314667f9e7478ef3def38d345dc0e6c817fb0
parent8632175ccb0c8cfc69b0f54c47b4b15b44c263ff
net: enetc: add support for the standardized counters

ENETC v4 provides 64-bit counters for IEEE 802.3 basic and mandatory
managed objects, the IETF Management Information Database (MIB) package
(RFC2665), and Remote Network Monitoring (RMON) statistics. In addition,
some ENETCs support preemption, so these ENETCs have two MACs: MAC 0 is
the express MAC (eMAC), MAC 1 is the preemptible MAC (pMAC). Both MACs
support these statistics.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Link: https://patch.msgid.link/20260408055849.1314033-2-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/enetc/enetc.h
drivers/net/ethernet/freescale/enetc/enetc4_hw.h
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c