network problems with r8169
From: Thomas Voegtle
Date: Thu Jul 18 2019 - 15:00:38 EST
Hello,
I'm having network problems with the commits on r8169 since v5.2. There
are ping packet loss, sometimes 100%, sometimes 50%. In the end network is
unusable.
v5.2 is fine, I bisected it down to:
a2928d28643e3c064ff41397281d20c445525032 is the first bad commit
commit a2928d28643e3c064ff41397281d20c445525032
Author: Heiner Kallweit <hkallweit1@xxxxxxxxx>
Date: Sun Jun 2 10:53:49 2019 +0200
r8169: use paged versions of phylib MDIO access functions
Use paged versions of phylib MDIO access functions to simplify
the code.
Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
Reverting that commit on top of v5.2-11564-g22051d9c4a57 fixes the problem
for me (had to adjust the renaming to r8169_main.c).
I have a:
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev
0c)
Subsystem: Biostar Microtech Int'l Corp Device [1565:2400]
Kernel driver in use: r8169
on a BIOSTAR H81MG motherboard.
greetings,
Thomas