Re: [PATCH net-next 0/4] Automatically manage DSA master interface state

2021-01-27 Thread Florian Fainelli
On 1/27/2021 5:30 PM, Vladimir Oltean wrote: > On Wed, Jan 27, 2021 at 05:03:23PM -0800, Florian Fainelli wrote: >> I really like all patches but number #2, though I don't believe there >> are existing use cases besides you one you described where it makes >> sense to keep a switch in an unmanag

Re: [PATCH net-next 0/4] Automatically manage DSA master interface state

2021-01-27 Thread Vladimir Oltean
On Wed, Jan 27, 2021 at 05:03:23PM -0800, Florian Fainelli wrote: > I really like all patches but number #2, though I don't believe there > are existing use cases besides you one you described where it makes > sense to keep a switch in an unmanaged mode being "headless" with its > CPU port down, wh

Re: [PATCH net-next 0/4] Automatically manage DSA master interface state

2021-01-27 Thread Florian Fainelli
On 1/26/2021 5:00 PM, Vladimir Oltean wrote: > From: Vladimir Oltean > > 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

Re: [PATCH net-next 0/4] Automatically manage DSA master interface state

2021-01-27 Thread Vladimir Oltean
On Wed, Jan 27, 2021 at 03:25:46AM +0200, Vladimir Oltean wrote: > Please treat this as RFC. There's still some debugging I need to do with > nfsroot. Sorry, please treat this as non-RFC again. The problem I had with nfsroot was completely unrelated.

[PATCH net-next 0/4] Automatically manage DSA master interface state

2021-01-26 Thread Vladimir Oltean
From: Vladimir Oltean 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

Re: [PATCH net-next 0/4] Automatically manage DSA master interface state

2021-01-26 Thread Vladimir Oltean
On Wed, Jan 27, 2021 at 03:00:24AM +0200, Vladimir Oltean wrote: > From: Vladimir Oltean > > 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