r8169: reconfigure rx unconditionally before chip reset when resuming
Heiner Kallweit
maintainerPATCH 1/1 r8169: reconfigure rx unconditionally before chip reset when resuming
There's a good chance that more chip versions suffer from the same hw issue. So let's reconfigure rx unconditionally before the chip reset when resuming. This shouldn't have any side effect on unaffected chip versions.
--- drivers/net/ethernet/realtek/r8169_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/net/ethernet/realtek/r8169_main.c +1 -3
@@ -4995,9 +4995,7 @@ static int rtl8169_resume(struct device *device)clk_prepare_enable (tp->clk);/* Some chip versions may truncate packets without this initialization */ -if (tp->mac_version ==RTL_GIGA_MAC_VER_37 || - tp->mac_version ==RTL_GIGA_MAC_VER_46 ) -rtl_init_rxcfg (tp); +rtl_init_rxcfg (tp);return rtl8169_runtime_resume (device); }
Signature · 1 line
2.51.0
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Thu, 16 Oct 2025 21:25:28 +0200 you wrote:
There's a good chance that more chip versions suffer from the same hw issue. So let's reconfigure rx unconditionally before the chip reset when resuming. This shouldn't have any side effect on unaffected chip versions.
Reviewed-by Simon Horman <[email protected]>Signed-off-by Heiner Kallweit <[email protected]>[...]
Here is the summary with links:
- [RESUBMIT,net-next] r8169: reconfigure rx unconditionally before chip reset when resuming
https://git.kernel.org/netdev/net-next/c/3dc2a17efc5f
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html