Re: [PATCH net-next 6/7] net: dsa: get port name at parse time

2017-10-30 Thread Florian Fainelli
On 10/27/2017 12:55 PM, Vivien Didelot wrote: > Get the optional "label" property and assign a default one directly at > parse time instead of doing it when creating the slave. > > For legacy, simply assign the port name stored in cd->port_names. > > Signed-off-by: Vivien Didelot Reviewed-by: F

[PATCH net-next 6/7] net: dsa: get port name at parse time

2017-10-27 Thread Vivien Didelot
Get the optional "label" property and assign a default one directly at parse time instead of doing it when creating the slave. For legacy, simply assign the port name stored in cd->port_names. Signed-off-by: Vivien Didelot --- net/dsa/dsa2.c | 10 +- net/dsa/legacy.c | 1 + 2 files c