r8169: disable ASPM in case of tx timeout
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 10 Jan 2023 22:03:18 +0000 (23:03 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Jan 2023 04:09:03 +0000 (20:09 -0800)
commit80c0576ef179311f624bc450fede30a89afe9792
treecdba1193ff54d654ed9b64188a705563813328c0
parent62cd6679958d760e9a565ec5049ab2b839720992
r8169: disable ASPM in case of tx timeout

There are still single reports of systems where ASPM incompatibilities
cause tx timeouts. It's not clear whom to blame, so let's disable
ASPM in case of a tx timeout.

v2:
- add one-time warning for informing the user

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Link: https://lore.kernel.org/r/92369a92-dc32-4529-0509-11459ba0e391@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c