[PATCH 0/1][SRU][OEM-5.10] UBUNTU: SAUCE: Fix Ethernet not working by hotplug - RTL8106E
koba.ko at canonical.com
Thu Jun 3 02:27:07 UTC 2021
After hot-plug the Ethernet cable, the status of Ethernet is always down.
Because ASPM is enabled on RTL8106E, the link change interrupt can't be fired immediately.
Need to wait a long time to get the link change interrupt.
Introduce a polling method to watch the link status and disable the link change interrupt for RTL8106E.
Due to schedule, SRU this patch first and will upstream later.
Verified on machines with Realtek Ethernet device, the Ethernet works well after hotplug 30 times.
High, may have some cases missed in link change polling method and will fix them in the future.
Koba Ko (1):
r8169: introduce polling method for link change
drivers/net/ethernet/realtek/r8169.h | 2 +
drivers/net/ethernet/realtek/r8169_main.c | 116 +++++++++++++++++++---
2 files changed, 102 insertions(+), 16 deletions(-)
More information about the kernel-team