]> git.ipfire.org Git - thirdparty/linux.git/commit
net: dsa: lantiq_gswip: drop untagged on VLAN-aware bridge ports with no PVID
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 15 Oct 2025 22:33:50 +0000 (23:33 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 18 Oct 2025 00:54:59 +0000 (17:54 -0700)
commit3bb500caf656b918bddd7e32dba7ed0e5c1c9598
tree872ab79040829bc1dd1644145225b76e5eb34399
parenta57627626636c20399f0c45ea1d16e6283affc91
net: dsa: lantiq_gswip: drop untagged on VLAN-aware bridge ports with no PVID

Implement the required functionality, as written in
Documentation/networking/switchdev.rst section "Bridge VLAN filtering",
by using the "VLAN Ingress Tag Rule" feature of the switch.

The bit field definitions for this were found while browsing the Intel
dual BSD/GPLv2 licensed drivers for this switch IP.

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