]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit638d89050d173777584b34d954d38e5752561eb1
tree8111fdd711c4a03176e67e87605c7fd37219f3ab
parente017822936183147f5c1887294fbc943c5588eae
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