Re: [PATCH net-next v2] net: dsa: mv88e6xxx: check for mode change in port_setup_mac

2019-08-16 Thread David Miller
From: Marek Behún Date: Wed, 14 Aug 2019 16:40:24 +0200 > The mv88e6xxx_port_setup_mac checks if the requested MAC settings are > different from the current ones, and if not, does nothing (since chaning > them requires putting the link down). > > In this check it only looks if the triplet [link,

Re: [PATCH net-next v2] net: dsa: mv88e6xxx: check for mode change in port_setup_mac

2019-08-14 Thread Andrew Lunn
On Wed, Aug 14, 2019 at 04:40:24PM +0200, Marek Behún wrote: > The mv88e6xxx_port_setup_mac checks if the requested MAC settings are > different from the current ones, and if not, does nothing (since chaning > them requires putting the link down). > > In this check it only looks if the triplet [li

[PATCH net-next v2] net: dsa: mv88e6xxx: check for mode change in port_setup_mac

2019-08-14 Thread Marek Behún
The mv88e6xxx_port_setup_mac checks if the requested MAC settings are different from the current ones, and if not, does nothing (since chaning them requires putting the link down). In this check it only looks if the triplet [link, speed, duplex] is being changed. This patch adds support to also c