]> 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)
commit159b622c63fc20493fe452771294b3cfe2dea600
treeda81440e5f0495af03d49a49cf0751f884b572ec
parente9bd820795ad541a6561c54914d0d5f77af75df7
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: f664af0cf061 ("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