Re: [PATCH net-next 4/5] net: dsa: Introduce dsa_dst_get_cpu_dp()

2017-06-06 Thread Vivien Didelot
Florian Fainelli writes: > Introduce a helper function which will return a reference to the CPU > port used in a dsa_switch_tree. Right now this is a singleton, but this > will change once we introduce multi-CPU port support, so ease the > transition by converting the affected code paths. > > Sig

[PATCH net-next 4/5] net: dsa: Introduce dsa_dst_get_cpu_dp()

2017-06-06 Thread Florian Fainelli
Introduce a helper function which will return a reference to the CPU port used in a dsa_switch_tree. Right now this is a singleton, but this will change once we introduce multi-CPU port support, so ease the transition by converting the affected code paths. Signed-off-by: Florian Fainelli --- net