Commit 50e194b6 authored by Aleksander Jan Bajkowski's avatar Aleksander Jan Bajkowski Committed by Paolo Abeni
Browse files

net: airoha: implement get_link_ksettings



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

Signed-off-by: default avatarAleksander Jan Bajkowski <olek2@wp.pl>
Tested-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260110170212.570793-1-olek2@wp.pl


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent cd64d10b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2805,6 +2805,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,
};