Re: [PATCH net-next 10/16] net: dsa: use ports list to setup default CPU port

Florian Fainelli
2019-10-21T02:47:21Z

On 10/19/2019 8:19 PM, Vivien Didelot wrote:
> Use the new ports list instead of iterating over switches and their
> ports when setting up the default CPU port. Unassign it on teardown.
>
> Now that we can iterate over multiple CPU ports, remove dst->cpu_dp.
>
> At the same time, provide a better error message for CPU-less tree.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian