net: airoha: implement get_link_ksettings
Subsystems (4)
PATCH 1/1 net: airoha: implement get_link_ksettings
Implement the .get_link_ksettings to get the rate, duplex, and auto-negotiation status.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>
--- drivers/net/ethernet/airoha/airoha_eth.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/airoha/airoha_eth.c +1 -0
@@ -2803,6 +2803,7 @@ static const struct ethtool_ops airoha_ethtool_ops = { .get_drvinfo = airoha_ethtool_get_drvinfo, .get_eth_mac_stats = airoha_ethtool_get_mac_stats, .get_rmon_stats = airoha_ethtool_get_rmon_stats, + .get_link_ksettings = phy_ethtool_get_link_ksettings, .get_link = ethtool_op_get_link, };
Signature · 1 line
2.47.3
Quoted 13 lines
Implement the .get_link_ksettings to get the rate, duplex, and auto-negotiation status.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>--- drivers/net/ethernet/airoha/airoha_eth.c | 1 + 1 file changed, 1 insertion(+)drivers/net/ethernet/airoha/airoha_eth.c +0
-0
drivers/net/ethernet/airoha/airoha_eth.c static const struct ethtool_ops airoha_ethtool_ops = { · line 2808
Quoted 6 lines
drivers/net/ethernet/airoha/airoha_eth.c +1
-0@@ -2803,6 +2803,7 @@ static const struct ethtool_ops airoha_ethtool_ops = { .get_drvinfo = airoha_ethtool_get_drvinfo, .get_eth_mac_stats = airoha_ethtool_get_mac_stats, .get_rmon_stats = airoha_ethtool_get_rmon_stats, + .get_link_ksettings = phy_ethtool_get_link_ksettings, .get_link = ethtool_op_get_link, };
Tested-by Lorenzo Bianconi <[email protected]>
Regards,
Lorenzo
Quoted 4 lines
Signature · 2 lines
-- 2.47.3
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Quoted 7 lines · On Sat, 10 Jan 2026 18:02:05 +0100 you wrote:
Implement the .get_link_ksettings to get the rate, duplex, and auto-negotiation status.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>--- drivers/net/ethernet/airoha/airoha_eth.c | 1 + 1 file changed, 1 insertion(+)
Here is the summary with links:
- net: airoha: implement get_link_ksettings
https://git.kernel.org/netdev/net-next/c/50e194b6da72
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html