Re: [PATCH] mt7530 fix mt7530_fdb_write vid missing ivl bit

From: DENG Qingfang
Date: Sat Jul 17 2021 - 11:41:46 EST


On Sat, Jul 17, 2021 at 10:09:53AM +0200, Eric Woudstra wrote:
>
> You are right now there is a problem with vlan unaware bridge.
>
> We need to change the line to:
>
> if (vid > 1) reg[1] |= ATA2_IVL;

Does it not work with vid 1?

>
> I have just tested this with a vlan unaware bridge and also with vlan bridge option disabled in the kernel. Only after applying the if statement it works for vlan unaware bridges/kernel.