]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
r8169: improve MAC EEE handling
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 24 Nov 2025 07:37:53 +0000 (08:37 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Nov 2025 03:14:34 +0000 (19:14 -0800)
commit87ad869feaedb0ebd61b2d254f6952f7e4ceb624
tree12e6607dc73bea5a69bb4873568dd0a2b12e6be4
parentde1e5c9333f426348571f7a3b034f99490d3f926
r8169: improve MAC EEE handling

Let phydev->enable_tx_lpi control whether MAC enables TX LPI, instead of
enabling it unconditionally. This way TX LPI is disabled if e.g. link
partner doesn't support EEE. This helps to avoid potential issues like
link flaps.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/91bcb837-3fab-4b4e-b495-038df0932e44@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c