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

* Re: [PATCH] net: airoha: implement get_link_ksettings
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Lorenzo Bianconi @ 2026-01-13 14:56 UTC (permalink / raw)
  To: Aleksander Jan Bajkowski
  Cc: andrew+netdev, davem, edumazet, kuba, pabeni, linux-arm-kernel,
	linux-mediatek, netdev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 946 bytes --]

> 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,
>  };

Tested-by: Lorenzo Bianconi <lorenzo@kernel.org>

Regards,
Lorenzo

>  
> -- 
> 2.47.3
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH] net: airoha: implement get_link_ksettings
  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
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-01-13 15:10 UTC (permalink / raw)
  To: Aleksander Jan Bajkowski
  Cc: lorenzo, andrew+netdev, davem, edumazet, kuba, pabeni,
	linux-arm-kernel, linux-mediatek, netdev, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

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 <olek2@wp.pl>
> ---
>  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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[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