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

From: Vladimir Oltean
Date: Thu May 11 2023 - 17:39:17 EST


On Thu, May 11, 2023 at 07:02:02PM +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: Vladimir Oltean <olteanv@xxxxxxxxx>