linux/net/dsa
Vladimir Oltean f647ed2ca7 net: dsa: append ethtool counters of all hidden ports to conduit
Currently there is no way to see packet counters on cascade ports, and
no clarity on how the API for that would look like.

Because it's something that is currently needed, just extend the hack
where ethtool -S on the conduit interface dumps CPU port counters, and
also use it to dump counters of cascade ports.

Note that the "pXX_" naming convention changes to "sXX_pYY", to
distinguish between ports having the same index but belonging to
different switches. This has a slight chance of causing regressions to
existing tooling:

- grepping for "p04_counter_name" still works, but might return more
  than one string now
- grepping for "    p04_counter_name" no longer works

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20251122112311.138784-4-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-25 17:33:55 -08:00
..
Kconfig net: dsa: add tagging driver for MaxLinear GSW1xx switch family 2025-11-06 14:16:17 -08:00
Makefile net: dsa: add tagging driver for MaxLinear GSW1xx switch family 2025-11-06 14:16:17 -08:00
conduit.c net: dsa: append ethtool counters of all hidden ports to conduit 2025-11-25 17:33:55 -08:00
conduit.h
devlink.c devlink: pass extack through to devlink_param::get() 2025-11-20 19:01:22 -08:00
devlink.h
dsa.c net: s/dev_close_many/netif_close_many/ 2025-07-18 17:27:47 -07:00
dsa.h
netlink.c
netlink.h
port.c net: dsa: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set() 2025-05-09 16:34:09 -07:00
port.h
stubs.c
switch.c
switch.h
tag.c
tag.h
tag_8021q.c net: dsa: avoid refcount warnings when ds->ops->tag_8021q_vlan_del() fails 2025-04-16 18:14:44 -07:00
tag_8021q.h
tag_ar9331.c
tag_brcm.c net: dsa: tag_brcm: do not mark link local traffic as offloaded 2025-11-10 17:04:19 -08:00
tag_dsa.c
tag_gswip.c
tag_hellcreek.c
tag_ksz.c net: dsa: microchip: linearize skb for tail-tagging switches 2025-05-16 16:00:17 -07:00
tag_lan9303.c
tag_mtk.c
tag_mxl-gsw1xx.c net: dsa: add tagging driver for MaxLinear GSW1xx switch family 2025-11-06 14:16:17 -08:00
tag_none.c
tag_ocelot.c
tag_ocelot_8021q.c Kthreads affinity follow either of 4 existing different patterns: 2025-01-21 17:10:05 -08:00
tag_qca.c
tag_rtl4_a.c
tag_rtl8_4.c
tag_rzn1_a5psw.c
tag_sja1105.c
tag_trailer.c
tag_vsc73xx_8021q.c
tag_xrs700x.c
tag_yt921x.c net: dsa: tag_yt921x: add support for Motorcomm YT921x tags 2025-10-21 18:25:30 -07:00
trace.c
trace.h
user.c net: s/dev_close_many/netif_close_many/ 2025-07-18 17:27:47 -07:00
user.h