aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2018-11-10 23:32:16 +0000
committerDavid S. Miller <[email protected]>2018-11-11 18:17:46 +0000
commit787799a9d5557f9494bf79b7052d3b9ee68f3b80 (patch)
treea23cbae2d1d80da3dab85fdb5bfebc10cb610297 /net/ipv4/tcp_output.c
parentnet: dsa: mv88e6xxx: Differentiate between 6390 and 6390X cmodes (diff)
downloadkernel-787799a9d5557f9494bf79b7052d3b9ee68f3b80.tar.gz
kernel-787799a9d5557f9494bf79b7052d3b9ee68f3b80.zip
net: dsa: mv88e6xxx: Default ports 9/10 6390X CMODE to 1000BaseX
The 6390X family has 8 SERDES interfaces. This allows ports 9 and 10 to support up to 10Gbps using 4 SERDES interfaces. However, when lower speeds are used, which need fewer SERDES interfaces, the unused SERDES interfaces can be used by ports 2-8. The hardware defaults to ports 9 and 10 having all 4 SERDES interfaces assigned to them. This only gets changed when the interface is configured after what the SFP supports has been determined, or the 10G PHY completes auto-neg. For hardware designs which limit ports 9 and 10 to one or two SERDES interfaces, and place SFPs on the lower interfaces, this is too late. Those ports with SFP should not wait until ports 9/10 are up in order to get access to the SERDES interface. So change the default configuration when the driver is initialised. Configure ports 9 and 10 to 1000BaseX, so they use a single SERDES interface, freeing up the others. They can steal them back if they need them. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions