summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-02-21 20:19:23 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2020-02-26 10:07:42 +0000
commitf96b64978af540dc7278c16b161d09e08cf13e00 (patch)
tree6627c60c58bc9dbbfec968fc255afb61d90b6623 /net/switchdev/switchdev.c
parent3b3e808cd883dd2e39c85e6d8debc0020b5ef5e7 (diff)
net: phylink: propagate resolved link config via mac_link_up()
Propagate the resolved link parameters via the mac_link_up() call for MACs that do not automatically track their PCS state. We propagate the link parameters via function arguments so that inappropriate members of struct phylink_link_state can't be accessed, and creating a new structure just for this adds needless complexity to the API. Tested-by: Andre Przywara <andre.przywara@arm.com> Tested-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions