Re: [PATCH net-next 3/8] net: dsa: use cpu_dp in master code

2017-09-29 Thread Florian Fainelli
On 09/29/2017 11:36 AM, Vivien Didelot wrote: > Make it clear that the master device is linked to a CPU port by using > "cpu_dp" for the dsa_port variable in master.c instead of "port", then > use a "port" variable to describe the port index, as usually seen in > other places of DSA core. > > This

[PATCH net-next 3/8] net: dsa: use cpu_dp in master code

2017-09-29 Thread Vivien Didelot
Make it clear that the master device is linked to a CPU port by using "cpu_dp" for the dsa_port variable in master.c instead of "port", then use a "port" variable to describe the port index, as usually seen in other places of DSA core. This will make the future patch touching dsa_ptr more readable