r8169: work around an irq coalescing related tx timeout
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 18 May 2020 20:47:16 +0000 (22:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2020 00:46:16 +0000 (17:46 -0700)
commit5cdfe8306631b2224e3f81fc5a1e2721c7a1948b
tree8111fdd711c4a03176e67e87605c7fd37219f3ab
parente2e5fb8d2f7aedb66fea0722f0f712cd37592a5d
r8169: work around an irq coalescing related tx timeout

In [0] a user reported reproducible tx timeouts on RTL8168f except
PktCntrDisable is set and irq coalescing is enabled.
Realtek told me that they are not aware of any related hw issue on
this chip version, therefore root cause is still unknown. It's not
clear whether the issue affects one or more chip versions in general,
or whether issue is specific to reporter's system.
Due to this level of uncertainty, and due to the fact that I'm aware
of this one report only, let's apply the workaround on net-next only.
After this change setting irq coalescing via ethtool can reliably
avoid the issue on the affected system.

[0] https://bugzilla.kernel.org/show_bug.cgi?id=207205

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c