]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: fix jumbo packet handling on resume from suspend
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 9 Oct 2019 18:55:48 +0000 (20:55 +0200)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 10 Oct 2019 23:25:46 +0000 (16:25 -0700)
commitaea59a6d1e595f7228c7398320f63408b030f103
tree3fa941d80e907c8249889324bdc393a753d12574
parent87b2411351ef3f49765cdd8bb1dfd5429842ab47
r8169: fix jumbo packet handling on resume from suspend

Mariusz reported that invalid packets are sent after resume from
suspend if jumbo packets are active. It turned out that his BIOS
resets chip settings to non-jumbo on resume. Most chip settings are
re-initialized on resume from suspend by calling rtl_hw_start(),
so let's add configuring jumbo to this function.
There's nothing wrong with the commit marked as fixed, it's just
the first one where the patch applies cleanly.

Fixes: 97a3c1066dba ("r8169: read common register for PCI commit")
Reported-by: Mariusz Bialonczyk <manio@skyboo.net>
Tested-by: Mariusz Bialonczyk <manio@skyboo.net>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/ethernet/realtek/r8169_main.c