diff mbox series

[net-next] r8169: remove original workaround for RTL8125 broken rx issue

Message ID 382d8c88-cbce-400f-ad62-fda0181c7e38@gmail.com (mailing list archive)
State Accepted
Commit 854d71c555dfc3383c1fde7d9989b6046e21093d
Delegated to: Netdev Maintainers
Headers show
Series [net-next] r8169: remove original workaround for RTL8125 broken rx issue | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 6 this patch: 6
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers success CCed 6 of 6 maintainers
netdev/build_clang success Errors and warnings before: 6 this patch: 6
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 5 this patch: 5
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 11 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-10-10--09-00 (tests: 775)

Commit Message

Heiner Kallweit Oct. 9, 2024, 5:48 a.m. UTC
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(-)

Comments

Simon Horman Oct. 9, 2024, 1:17 p.m. UTC | #1
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>
patchwork-bot+netdevbpf@kernel.org Oct. 11, 2024, 1:50 a.m. UTC | #2
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!
diff mbox series

Patch

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