Re: [PATCH net-next 0/4] Automatically manage DSA master interface state
From: Vladimir Oltean <olteanv@gmail.com>
Date: 2021-01-27 04:32:50
On Wed, Jan 27, 2021 at 03:00:24AM +0200, Vladimir Oltean wrote:
From: Vladimir Oltean <vladimir.oltean@nxp.com> This patch series adds code that makes DSA open the master interface automatically whenever one user interface gets opened, either by the user, or by various networking subsystems: netconsole, nfsroot. With that in place, we can remove some of the places in the network stack where DSA-specific code was sprinkled. Vladimir Oltean (4): net: dsa: automatically bring up DSA master when opening user port net: dsa: automatically bring user ports down when master goes down Revert "net: Have netpoll bring-up DSA management interface" Revert "net: ipv4: handle DSA enabled master network devices" Documentation/networking/dsa/dsa.rst | 4 --- net/core/netpoll.c | 22 +++------------ net/dsa/slave.c | 40 ++++++++++++++++++++++++++-- net/ipv4/ipconfig.c | 21 ++++++++++++--- 4 files changed, 59 insertions(+), 28 deletions(-)
Please treat this as RFC. There's still some debugging I need to do with nfsroot.