r8169: change the L0/L1 entrance latencies for RTL8106e
authorHayes Wang <hayeswang@realtek.com>
Fri, 6 Aug 2021 09:15:56 +0000 (17:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Aug 2021 08:33:22 +0000 (09:33 +0100)
commit9c40186488145b57f800de120f0872168772adfe
treeae2b305de264ab6619470164cb80e6682a29a8a8
parent2115d3d482656ea702f7cf308c0ded3500282903
r8169: change the L0/L1 entrance latencies for RTL8106e

The original L0 and L1 entrance latencies of RTL8106e are 4us. And
they cause the delay of link-up interrupt when enabling ASPM. Change
the L0 entrance latency to 7us and L1 entrance latency to 32us. Then,
they could avoid the issue.

Tested-by: Koba Ko <koba.ko@canonical.com>
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c