Thread (7 messages) flat view 7 messages, 4 authors, 2021-07-17

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

From: Eric Woudstra <hidden>
Date: 2021-07-17 19:28:20
Also in: linux-arm-kernel, linux-mediatek, lkml

On Sat 17 jul. 2021 at 17:41, DENG Qingfang [off-list ref]: wrote:
On Sat, Jul 17, 2021 at 10:09:53AM +0200, Eric Woudstra wrote:
quoted
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?
No, I also thought so, but it actually does not. I'm working here on
5.12.11, but there should not be any difference. It needs: if (vid >
1). Just tried it with (vid > 0) but then it does not work.

I really like your fix on wifi roaming, it works nicely. However I
found, still after this patch, it sadly does not work on vlan > 1. At
least it does not on 5.12.11 (the 'self' entry does not get removed
automatically, but after manual remove the client connects ok). I need
to go 5.14 one of these days because I just read DSA has a major
update. Then I also move from ubuntu focal to a more recent version.
Then I'll try wifi roaming on vlan again.
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help