Re: [PATCH v3 1/3] net: dsa: refactor name assignment for user ports

From: Florian Fainelli
Date: Wed Nov 16 2022 - 11:28:15 EST




On 11/16/2022 2:52 AM, Rasmus Villemoes wrote:
The following two patches each have a (small) chance of causing
regressions for userspace and will in that case of course need to be
reverted.

In order to prepare for that and make those two patches independent
and individually revertable, refactor the code which sets the names
for user ports by moving the "fall back to eth%d if no label is given
in device tree" to dsa_slave_create().

No functional change (at least none intended).

Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <f.faineli@xxxxxxxxx>
--
Florian