]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit4ebcb113edcc498888394821bca2e60ef89c6ff3
tree3fa941d80e907c8249889324bdc393a753d12574
parent70c2655849a25431f31b505a07fe0c861e5e41fb
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: 7366016d2d4c ("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