]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: enetc: remove standardized counters from enetc_pm_counters
authorWei Fang <wei.fang@nxp.com>
Wed, 8 Apr 2026 05:58:47 +0000 (13:58 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 20:03:48 +0000 (13:03 -0700)
commit6d78c37a73e01955104c2cb8f65584d23aba4f88
tree2771858faebd86131566b7983c33dd1a8934e53a
parentc571d309d4cf9ac4c3129cdf312696e1c6b18cce
net: enetc: remove standardized counters from enetc_pm_counters

The standardized counters are already exposed via the get_pause_stats(),
get_rmon_stats(), get_eth_ctrl_stats() and get_eth_mac_stats()
interfaces. Keeping the same counters in enetc_pm_counters results in
redundant output.

Remove these standardized counters from enetc_pm_counters and rely on
the existing statistics interfaces to report them.

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