linux-stable/drivers/net/dsa/ocelot
Vladimir Oltean ab3f97a961 net: mscc: ocelot: export ethtool MAC Merge stats for Felix VSC9959
The Felix VSC9959 switch supports frame preemption and has a MAC Merge
layer. In addition to the structured stats that exist for the eMAC,
export the counters associated with its pMAC (pause, RMON, MAC, PHY,
control) plus the high-level MAC Merge layer stats. The unstructured
ethtool counters, as well as the rtnl_link_stats64 were left to report
only the eMAC counters.

Because statistics processing is quite self-contained in ocelot_stats.c
now, I've opted for introducing an ocelot->mm_supported bool, based on
which the common switch lib does everything, rather than pushing the
TSN-specific code in felix_vsc9959.c, as happens for other TSN stuff.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-01-23 12:44:18 +00:00
..
felix.c net: mscc: ocelot: export ethtool MAC Merge stats for Felix VSC9959 2023-01-23 12:44:18 +00:00
felix.h net: mscc: ocelot: remove redundant stats_layout pointers 2022-11-22 15:36:43 +01:00
felix_vsc9959.c net: mscc: ocelot: export ethtool MAC Merge stats for Felix VSC9959 2023-01-23 12:44:18 +00:00
Kconfig net: dsa: felix: build as module when tc-taprio is module 2022-07-05 17:50:38 -07:00
Makefile net: dsa: seville: build as separate module 2020-09-18 17:52:51 -07:00
seville_vsc9953.c net: mscc: ocelot: remove redundant stats_layout pointers 2022-11-22 15:36:43 +01:00