net: dsa: bcm_sf2: use 2 Gbps IMP port link on BCM4908
authorRafał Miłecki <rafal@milecki.pl>
Wed, 10 Mar 2021 12:51:59 +0000 (13:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2021 23:22:27 +0000 (15:22 -0800)
commit8373a0fe9c7160a55482effa8a3f725efd3f8434
treeb5a3120a787512f34f1325bf9ab7bc64b9fafe2b
parent0571a753cb07982cc82f4a5115e0b321da89e1f3
net: dsa: bcm_sf2: use 2 Gbps IMP port link on BCM4908

BCM4908 uses 2 Gbps link between switch and the Ethernet interface.
Without this BCM4908 devices were able to achieve only 2 x ~895 Mb/s.
This allows handling e.g. NAT traffic with 940 Mb/s.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c