net: mvpp2: set 802.3x GoP Flow Control mode
authorStefan Chulski <stefanc@marvell.com>
Thu, 11 Feb 2021 10:49:01 +0000 (12:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 22:50:24 +0000 (14:50 -0800)
commit262412d55acd58e39b71a277c25ceeeb851cf0f6
tree629042dac39cffa8deb29520d21f5732722c70eb
parentaca0e23584c90fb3b3aee3e413fd872dee1d55fb
net: mvpp2: set 802.3x GoP Flow Control mode

This patch fix GMAC TX flow control autoneg.
Flow control autoneg wrongly were disabled with enabled TX
flow control.

Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Acked-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c