summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-03-31 11:07:10 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2020-08-03 21:44:47 +0100
commit59e40a1ff7a66baf7c788f6c68fae0365cd04e6f (patch)
tree2d05df199db4912bea1621e1419b16cacb48b4d7 /net
parentd8c12831d638c681731fa9e23f37487444cf1037 (diff)
net: phylink: re-implement interface configuration with PCS
With PCS support, how we implement interface reconfiguration (or other major reconfiguration) is not up to the job; we end up reconfiguring the PCS for an interface change while the link could potentially be up. In order to solve this, add two additional MAC methods for major configuration, one to prepare for the change, and one to finish the change. This allows mvneta and mvpp2 to shutdown what they require prior to the MAC and PCS configuration calls, and then restart as appropriate. This impacts ksettings_set(), which now needs to identify whether the change is a minor tweak to the advertisement masks or whether the interface mode has changed, and call the appropriate function for that update. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions