]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: dsa: lantiq_gswip: treat VID 0 like the PVID
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 15 Oct 2025 22:34:01 +0000 (23:34 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 18 Oct 2025 00:54:59 +0000 (17:54 -0700)
commit1f89ed0ebf2696d1d8fa7625e26c692aa153774a
treecdae3d7bdf8f2f39e1babfb7de695ddb5ca888f1
parent3bb500caf656b918bddd7e32dba7ed0e5c1c9598
net: dsa: lantiq_gswip: treat VID 0 like the PVID

Documentation/networking/switchdev.rst says that VLAN-aware bridges must
treat packets tagged with VID 0 the same as untagged. It appears from
the documentation that setting the GSWIP_PCE_VCTRL_VID0 flag (which this
driver already had defined) might achieve this.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://patch.msgid.link/b220ac149922839a261b754202c05df5bb253c98.1760566491.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/lantiq/lantiq_gswip.c