]> Git Repo - linux.git/commit
r8169: fix rare issue with broken rx after link-down on RTL8125
authorHeiner Kallweit <[email protected]>
Thu, 12 Oct 2023 06:51:13 +0000 (08:51 +0200)
committerJakub Kicinski <[email protected]>
Sat, 14 Oct 2023 00:34:12 +0000 (17:34 -0700)
commit621735f590643e3048ca2060c285b80551660601
tree4a8ae215b7c78b0de85141d98020fc5c1744c4f7
parent1efddc064e1802ceb995c8f51b3a9135af79f7cd
r8169: fix rare issue with broken rx after link-down on RTL8125

In very rare cases (I've seen two reports so far about different
RTL8125 chip versions) it seems the MAC locks up when link goes down
and requires a software reset to get revived.
Realtek doesn't publish hw errata information, therefore the root cause
is unknown. Realtek vendor drivers do a full hw re-initialization on
each link-up event, the slimmed-down variant here was reported to fix
the issue for the reporting user.
It's not fully clear which parts of the NIC are reset as part of the
software reset, therefore I can't rule out side effects.

Fixes: f1bce4ad2f1c ("r8169: add support for RTL8125")
Reported-by: Martin Kjær Jørgensen <[email protected]>
Link: https://lore.kernel.org/netdev/[email protected]/T/
Signed-off-by: Heiner Kallweit <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/net/ethernet/realtek/r8169_main.c
This page took 0.058902 seconds and 4 git commands to generate.