netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] r8169: remove original workaround for RTL8125 broken rx issue
@ 2024-10-09  5:48 Heiner Kallweit
  2024-10-09 13:17 ` Simon Horman
  2024-10-11  1:50 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Heiner Kallweit @ 2024-10-09  5:48 UTC (permalink / raw)
  To: Realtek linux nic maintainers, Jakub Kicinski, David Miller,
	Paolo Abeni, Eric Dumazet
  Cc: netdev@vger.kernel.org

Now that we have b9c7ac4fe22c ("r8169: disable ALDPS per default for
RTL8125"), the first attempt to fix the issue shouldn't be needed
any longer. So let's effectively revert 621735f59064 ("r8169: fix
rare issue with broken rx after link-down on RTL8125") and see
whether anybody complains.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/net/ethernet/realtek/r8169_main.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
index f8782e63e..31e8634a6 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -4741,11 +4741,7 @@ static void r8169_phylink_handler(struct net_device *ndev)
 	if (netif_carrier_ok(ndev)) {
 		rtl_link_chg_patch(tp);
 		pm_request_resume(d);
-		netif_wake_queue(tp->dev);
 	} else {
-		/* In few cases rx is broken after link-down otherwise */
-		if (rtl_is_8125(tp))
-			rtl_schedule_task(tp, RTL_FLAG_TASK_RESET_NO_QUEUE_WAKE);
 		pm_runtime_idle(d);
 	}
 
-- 
2.46.2


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

* Re: [PATCH net-next] r8169: remove original workaround for RTL8125 broken rx issue
  2024-10-09  5:48 [PATCH net-next] r8169: remove original workaround for RTL8125 broken rx issue Heiner Kallweit
@ 2024-10-09 13:17 ` Simon Horman
  2024-10-11  1:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2024-10-09 13:17 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: Realtek linux nic maintainers, Jakub Kicinski, David Miller,
	Paolo Abeni, Eric Dumazet, netdev@vger.kernel.org

On Wed, Oct 09, 2024 at 07:48:05AM +0200, Heiner Kallweit wrote:
> Now that we have b9c7ac4fe22c ("r8169: disable ALDPS per default for
> RTL8125"), the first attempt to fix the issue shouldn't be needed
> any longer. So let's effectively revert 621735f59064 ("r8169: fix
> rare issue with broken rx after link-down on RTL8125") and see
> whether anybody complains.
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

Reviewed-by: Simon Horman <horms@kernel.org>

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

* Re: [PATCH net-next] r8169: remove original workaround for RTL8125 broken rx issue
  2024-10-09  5:48 [PATCH net-next] r8169: remove original workaround for RTL8125 broken rx issue Heiner Kallweit
  2024-10-09 13:17 ` Simon Horman
@ 2024-10-11  1:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-10-11  1:50 UTC (permalink / raw)
  To: Heiner Kallweit; +Cc: nic_swsd, kuba, davem, pabeni, edumazet, netdev

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 9 Oct 2024 07:48:05 +0200 you wrote:
> Now that we have b9c7ac4fe22c ("r8169: disable ALDPS per default for
> RTL8125"), the first attempt to fix the issue shouldn't be needed
> any longer. So let's effectively revert 621735f59064 ("r8169: fix
> rare issue with broken rx after link-down on RTL8125") and see
> whether anybody complains.
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> 
> [...]

Here is the summary with links:
  - [net-next] r8169: remove original workaround for RTL8125 broken rx issue
    https://git.kernel.org/netdev/net-next/c/854d71c555df

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:[~2024-10-11  1:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-09  5:48 [PATCH net-next] r8169: remove original workaround for RTL8125 broken rx issue Heiner Kallweit
2024-10-09 13:17 ` Simon Horman
2024-10-11  1:50 ` 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;
as well as URLs for NNTP newsgroup(s).