public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: airoha: implement get_link_ksettings
@ 2026-01-10 17:02 Aleksander Jan Bajkowski
  2026-01-13 14:56 ` Lorenzo Bianconi
  2026-01-13 15:10 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Aleksander Jan Bajkowski @ 2026-01-10 17:02 UTC (permalink / raw)
  To: lorenzo, andrew+netdev, davem, edumazet, kuba, pabeni,
	linux-arm-kernel, linux-mediatek, netdev, linux-kernel
  Cc: Aleksander Jan Bajkowski

Implement the .get_link_ksettings to get the rate, duplex, and
auto-negotiation status.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
 drivers/net/ethernet/airoha/airoha_eth.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/airoha/airoha_eth.c b/drivers/net/ethernet/airoha/airoha_eth.c
index 315d97036ac1..00cae2833f09 100644
--- a/drivers/net/ethernet/airoha/airoha_eth.c
+++ b/drivers/net/ethernet/airoha/airoha_eth.c
@@ -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,
 };
 
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-13 15:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-10 17:02 [PATCH] net: airoha: implement get_link_ksettings Aleksander Jan Bajkowski
2026-01-13 14:56 ` Lorenzo Bianconi
2026-01-13 15:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox