]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: Don't check for 3 consecutive Idle frames for 10G links
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Fri, 19 Jul 2019 14:38:48 +0000 (16:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2019 01:15:24 +0000 (18:15 -0700)
commit1980f5391e10fb8276e5d9ae87f553186223abd9
treeda81440e5f0495af03d49a49cf0751f884b572ec
parent0ad58c00844270034b85b3f6ec8c92ad9e5589ea
net: mvpp2: Don't check for 3 consecutive Idle frames for 10G links

PPv2's XLGMAC can wait for 3 idle frames before triggering a link up
event. This can cause the link to be stuck low when there's traffic on
the interface, so disable this feature.

Fixes: 030bc6b767a7 ("net: mvpp2: phylink support")
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c