net: mvpp2: set xlg flow control in mvpp2_mac_link_up()
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 20 Jun 2020 09:21:42 +0000 (10:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jun 2020 04:38:26 +0000 (21:38 -0700)
commit63d78cc9766d5ee18d2e2d82c2642fa414827a77
tree3a863e7cfea6291e10f6510b57c7521f59c522da
parentbd45f644a8fd65fc2dd26b4817cb4b1ff68e393d
net: mvpp2: set xlg flow control in mvpp2_mac_link_up()

Set the flow control settings in mvpp2_mac_link_up() for 10G links
just as we do for 1G and slower links. This is now the preferred
location.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c