Re: [PATCH net v3 3/3] net: dsa: rzn1-a5psw: disable learning for standalone ports

From: Piotr Raczynski
Date: Fri May 12 2023 - 11:43:33 EST


On Fri, May 12, 2023 at 09:27:12AM +0200, alexis.lothore@xxxxxxxxxxx wrote:
> From: Clément Léger <clement.leger@xxxxxxxxxxx>
>
> When ports are in standalone mode, they should have learning disabled to
> avoid adding new entries in the MAC lookup table which might be used by
> other bridge ports to forward packets. While adding that, also make sure
> learning is enabled for CPU port.
>
> Fixes: 888cdb892b61 ("net: dsa: rzn1-a5psw: add Renesas RZ/N1 advanced 5 port switch driver")
> Signed-off-by: Clément Léger <clement.leger@xxxxxxxxxxx>
> Signed-off-by: Alexis Lothoré <alexis.lothore@xxxxxxxxxxx>
Reviewed-by: Piotr Raczynski <piotr.raczynski@xxxxxxxxx>