On Tue, Sep 14, 2021 at 8:29 AM DENG Qingfang [off-list ref] wrote:
quoted
Yeah it is pretty weird. What happens now is that this is a regression
when using OpenWrt userspace as it sets up the VLANs like this,
Were you running net-next kernel?
Yep just the userspace is from OpenWrt, the kernel is latest mainline.
The DSA core already adds the CPU port to VLAN members for you.
In file net/dsa/slave.c, function dsa_slave_vlan_add:
Hmmmmm I will look into this. Put in some debug prints etc.
Certainly the callbacks to the driver for doing this aren't getting
called even with v5.15-rc1 AFAICT.
Yours,
Linus Walleij