Re: [PATCH net-next 04/16] net: dsa: use ports list to find slave

2019-10-21 Thread Andrew Lunn
On Sat, Oct 19, 2019 at 11:19:29PM -0400, Vivien Didelot wrote: > Use the new ports list instead of iterating over switches and their > ports when looking for a slave device from a given master interface. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Andrew

Re: [PATCH net-next 04/16] net: dsa: use ports list to find slave

2019-10-20 Thread Florian Fainelli
On 10/19/2019 8:19 PM, Vivien Didelot wrote: > Use the new ports list instead of iterating over switches and their > ports when looking for a slave device from a given master interface. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian

[PATCH net-next 04/16] net: dsa: use ports list to find slave

2019-10-19 Thread Vivien Didelot
Use the new ports list instead of iterating over switches and their ports when looking for a slave device from a given master interface. Signed-off-by: Vivien Didelot --- net/dsa/dsa_priv.h | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git