OSDN Git Service

Revert "net: dsa: bcm_sf2: Also configure Port 5 for 2Gb/sec on 7278"
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 24 Feb 2020 23:44:26 +0000 (15:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 00:33:35 +0000 (16:33 -0800)
commit3f02735e5da5367e4cd563ce6e5c21ce27922248
treecf42f8c5b8d88e94efee3af83211820b2f636957
parentbb0858d8bc828ebc3eaa90be02a0f32bca3c2351
Revert "net: dsa: bcm_sf2: Also configure Port 5 for 2Gb/sec on 7278"

This reverts commit 7458bd540fa0a90220b9e8c349d910d9dde9caf8 ("net: dsa:
bcm_sf2: Also configure Port 5 for 2Gb/sec on 7278") as it causes
advanced congestion buffering issues with 7278 switch devices when using
their internal Giabit PHY. While this is being debugged, continue with
conservative defaults that work and do not cause packet loss.

Fixes: 7458bd540fa0 ("net: dsa: bcm_sf2: Also configure Port 5 for 2Gb/sec on 7278")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/bcm_sf2_regs.h