Thread (27 messages) flat view 27 messages, 4 authors, 1d ago

Re: [PATCH RESEND net-next v17 09/10] net: ethtool: Introduce ethtool command to list ports

From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2026-09-25 08:58:06
Also in: lkml


On 9/25/26 00:01, Aleksei Sviridkin wrote:
On Thu, 10 Sep 2026 19:01:01 +0200, Maxime Chevallier wrote:
quoted
--- /dev/null
+++ b/net/ethtool/port.c
[...]
+		ret = ethnl_put_bitset(skb, ETHTOOL_A_PORT_SUPPORTED_INTERFACES,
+				       reply->interfaces, NULL,
+				       PHY_INTERFACE_MODE_MAX,
+				       phy_interface_names, compact);
The supported-interfaces bits are raw phy_interface_t values. OpenWrt's
layerscape kernel inserts PHY_INTERFACE_MODE_2500SGMII between
2500BASEX and 5GBASER, so on that kernel every bit above 2500BASEX
means something different than on mainline.
There's no such thing as 2500SGMII :/

This is an openwrt problem, they need to make sure their kernel headers
matches the kernel they are running...

Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help