]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: enetc: add unstructured pMAC counters for ENETC v1
authorWei Fang <wei.fang@nxp.com>
Wed, 8 Apr 2026 05:58:48 +0000 (13:58 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 20:03:48 +0000 (13:03 -0700)
commitdbc30b154e331dc023c4ace3fd57056c6c7a98e2
treebdc73ea15ecf37c7ee7e115a7334285175359bea
parent6d78c37a73e01955104c2cb8f65584d23aba4f88
net: enetc: add unstructured pMAC counters for ENETC v1

The ENETC v1 has two MACs (eMAC and pMAC) to support preemption. The
existing unstructured counters include the eMAC counters, but not the
pMAC counters. So add pMAC counters to improve statistical coverage.

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