Re: [PATCH net-next] net: dsa: mt7530: support MDB and bridge flag operations

From: DENG Qingfang
Date: Tue Mar 16 2021 - 00:37:37 EST


On Tue, Mar 16, 2021 at 5:15 AM Vladimir Oltean <olteanv@xxxxxxxxx> wrote:
>
> Actually this is just how Qingfang explained it:
> https://patchwork.kernel.org/project/netdevbpf/patch/20210224081018.24719-1-dqfext@xxxxxxxxx/
>
> I just assume that MT7530/7531 switches don't need to enable flooding on
> user ports when the only possible traffic source is the CPU port - the
> CPU port can inject traffic into any port regardless of egress flooding
> setting. If that's not true, I don't see how traffic in standalone ports
> mode would work after this patch.

Correct. Don't forget the earlier version of this driver (before my
attempt to fix roaming) disabled unknown unicast flooding (trapped to
CPU) in the same way.