Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <olek2@wp.pl>
Tested-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260110170212.570793-1-olek2@wp.pl
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

authored by

Aleksander Jan Bajkowski and committed by
Paolo Abeni
50e194b6 cd64d10b

+1
+1
drivers/net/ethernet/airoha/airoha_eth.c
··· 2805 2805 .get_drvinfo = airoha_ethtool_get_drvinfo, 2806 2806 .get_eth_mac_stats = airoha_ethtool_get_mac_stats, 2807 2807 .get_rmon_stats = airoha_ethtool_get_rmon_stats, 2808 + .get_link_ksettings = phy_ethtool_get_link_ksettings, 2808 2809 .get_link = ethtool_op_get_link, 2809 2810 }; 2810 2811