]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: enable ASPM L1/L1.1 from RTL8168h
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 15 Nov 2021 20:17:56 +0000 (21:17 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Nov 2021 03:10:17 +0000 (19:10 -0800)
commitc18e2b004d99ba4124684c0ef44859d56898890b
treedf162fb34fbdf2690b0db10a2223e832356625e7
parentd67d97a19b2762c59960630b8f53197b3b9b0780
r8169: enable ASPM L1/L1.1 from RTL8168h

With newer chip versions ASPM-related issues seem to occur only if
L1.2 is enabled. I have a test system with RTL8168h that gives a
number of rx_missed errors when running iperf and L1.2 is enabled.
With L1.2 disabled (and L1 + L1.1 active) everything is fine.
See also [0]. Can't test this, but L1 + L1.1 being active should be
sufficient to reach higher package power saving states.

[0] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1942830

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/36feb8c4-a0b6-422a-899c-e61f2e869dfe@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c