]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'improvements-over-dsa-conduit-ethtool-ops'
authorJakub Kicinski <kuba@kernel.org>
Wed, 26 Nov 2025 01:34:01 +0000 (17:34 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Nov 2025 01:34:01 +0000 (17:34 -0800)
Vladimir Oltean says:

====================
Improvements over DSA conduit ethtool ops

DSA interceps 'ethtool -S eth0', where eth0 is the host port of the
switch (called 'conduit'). It does this because otherwise there is no
way to report port counters for the CPU port, which is a MAC like any
other of that switch, except Linux exposes no net_device for it, thus no
ethtool hook.

Having understood all downsides of this debugging interface, when we
need it we needed, so the proposed changes here are to make it more
useful by dumping more counters in it: not just the switch CPU port,
but all other switch ports in the tree which lack a net_device. Not
reinventing any wheel, just putting more output in an existing command.

That is patch 3/3. The other 2 are cleanup.
====================

Link: https://patch.msgid.link/20251122112311.138784-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge