diff options
author | 2020-02-26 10:23:46 +0000 | |
---|---|---|
committer | 2020-02-27 12:02:14 -0800 | |
commit | 5b502a7b2992008a1fd5962ba032771b03c4e840 (patch) | |
tree | 7d135db5835c363e3b3d199a156506985c174ea4 /net | |
parent | net: phylink: propagate resolved link config via mac_link_up() (diff) | |
download | linux-5b502a7b2992008a1fd5962ba032771b03c4e840.tar.gz linux-5b502a7b2992008a1fd5962ba032771b03c4e840.tar.bz2 linux-5b502a7b2992008a1fd5962ba032771b03c4e840.zip |
net: dsa: propagate resolved link config via mac_link_up()
Propagate the resolved link configuration down via DSA's
phylink_mac_link_up() operation to allow split PCS/MAC to work.
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/dsa/port.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dsa/port.c b/net/dsa/port.c index b2f5262b35cf..d4450a454249 100644 --- a/net/dsa/port.c +++ b/net/dsa/port.c @@ -504,7 +504,8 @@ static void dsa_port_phylink_mac_link_up(struct phylink_config *config, return; } - ds->ops->phylink_mac_link_up(ds, dp->index, mode, interface, phydev); + ds->ops->phylink_mac_link_up(ds, dp->index, mode, interface, phydev, + speed, duplex, tx_pause, rx_pause); } const struct phylink_mac_ops dsa_port_phylink_mac_ops = { |