aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2020-03-11 16:24:24 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-11 23:46:11 -0700
commita20f997010c4ec76eaa55b8cc047d76dcac69f70 (patch)
treea39581cb7cb4b62a39c4a987058f4f53726a88da /net/openvswitch
parentnet/packet: tpacket_rcv: do not increment ring index on drop (diff)
downloadlinux-dev-a20f997010c4ec76eaa55b8cc047d76dcac69f70.tar.xz
linux-dev-a20f997010c4ec76eaa55b8cc047d76dcac69f70.zip
net: dsa: Don't instantiate phylink for CPU/DSA ports unless needed
By default, DSA drivers should configure CPU and DSA ports to their maximum speed. In many configurations this is sufficient to make the link work. In some cases it is necessary to configure the link to run slower, e.g. because of limitations of the SoC it is connected to. Or back to back PHYs are used and the PHY needs to be driven in order to establish link. In this case, phylink is used. Only instantiate phylink if it is required. If there is no PHY, or no fixed link properties, phylink can upset a link which works in the default configuration. Fixes: 0e27921816ad ("net: dsa: Use PHYLINK for the CPU/DSA ports") Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions