Re: [PATCH net-next] net: dsa: mv88e6xxx: Only reconfigure MAC when something changes

2019-04-19 Thread David Miller
From: Andrew Lunn Date: Thu, 18 Apr 2019 03:11:39 +0200 > phylink will call the mac_config() callback once per second when > polling a PHY or a fixed link. The MAC driver is not supposed to > reconfigure the MAC if nothing has changed. > > Make the mv88e6xxx driver look at the current configurat

[PATCH net-next] net: dsa: mv88e6xxx: Only reconfigure MAC when something changes

2019-04-17 Thread Andrew Lunn
phylink will call the mac_config() callback once per second when polling a PHY or a fixed link. The MAC driver is not supposed to reconfigure the MAC if nothing has changed. Make the mv88e6xxx driver look at the current configuration of the port, and return early if nothing has changed. Signed-of