On Thu, Mar 30, 2023 at 11:09:59AM +0200, Clément Léger wrote: > Yes indeed, and we noticed the handling of VLANVERI and VLANDISC in > vlan_filtering() should be set according to the fact there is a PVID or > not (which is not the case right now). I was thinking the other way around, that the handling of VLAN_IN_MODE_ENA should be moved to port_vlan_filtering(). The expected behavior relating to VLANs is documented in the "Bridge VLAN filtering" section of Documentation/networking/switchdev.rst btw.