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