openwrt-6.x/target/linux
Markus Stockhausen a22d359fa5 realtek: 6.6: fix VLAN handling
The CPU port of realtek switches needs some proper PVID set to handle
untagged packets. Because the ethernet driver does no special VLAN
handling (see CPU tag RVID/RVID_SEL) as of now we can only steer
untagged packets by setting PVID for the CPU port. VLAN handling has
never been perfect but 3 events made things worse.

- Commit a376508216 ("rtl83xx: dsa: Do nothing when vid 0")
- Commit e691e2b302 ("rtl83xx: dsa: reset PVID to 1 instead of 0")
- Upgrade to kernel 6.6

Reasons are:

- Rejecting VID 0 disabled Linux initialization routines
- Initialization for PVID forgot to set priv->ports[port].pvid
- Kernel 6.6 does no longer clarify CPU port as untagged

To fix this prepare the VID 0 setup inside the driver. Join all ports
to VID 0 and let no one from outsinde interfere with this setup.
Especially ignore PVID settings for the CPU port for all further
VLAN commands.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Suggested-by: Bjørn Mork <bjorn@mork.no>
2024-09-14 20:14:47 +02:00
..
airoha airoha: drop kernel 6.1 support 2024-06-05 09:34:06 +02:00
apm821xx kernel: rtl8367b: use realtek,extif property 2024-08-06 00:34:14 +02:00
archs38 kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
armsr kernel: bump 6.1 to 6.1.107 2024-08-31 20:11:41 +02:00
at91
ath79 kernel: bump 6.6 to 6.6.48 2024-08-31 20:08:13 +02:00
bcm27xx kernel: bump 6.6 to 6.6.50 2024-09-08 21:29:13 +02:00
bcm47xx generic: 6.6: add backported bmips CBR patches 2024-08-06 14:06:09 +02:00
bcm53xx bcm53xx: drop 6.1 support 2024-09-09 14:29:58 +02:00
bcm4908 bcm4908: drop 6.1 support 2024-08-30 11:39:44 +02:00
bmips bmips: add support for TP-Link TD-W8968 V3 2024-08-24 20:35:30 +02:00
d1 d1: drop 6.1 support 2024-05-29 17:56:28 +02:00
gemini kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
generic kernel: backport nvmem changes from v6.12 2024-09-12 08:59:36 +02:00
imx kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
ipq40xx ipq40xx: define config-names for Aruba boards 2024-09-11 00:37:34 +02:00
ipq806x treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
ixp4xx ixp4xx: Add back support for D-Link DSM G600 A 2024-05-25 09:17:19 +02:00
kirkwood treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
lantiq treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
layerscape kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
loongarch64 kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
malta kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
mediatek mediatek: apply pending PHY driver fixes 2024-09-12 15:43:05 +02:00
mpc85xx mpc85xx: add static to init functions 2024-09-07 22:24:07 +02:00
mvebu mvebu: GL-MV1000: let u-boot-env be writable again 2024-08-06 21:46:25 +02:00
mxs
octeon octeon: set Linux 6.6 as the default kernel 2024-09-09 18:24:34 +02:00
omap kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
pistachio kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
qoriq kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
qualcommax ipq807x: add support for TP-Link EAP660 HD v1 2024-09-08 12:01:19 +02:00
ramips ramips: mt76x8: add missing model string to Yuncore M300 2024-09-11 00:17:05 +02:00
realtek realtek: 6.6: fix VLAN handling 2024-09-14 20:14:47 +02:00
rockchip treewide: update contact information 2024-09-11 00:37:34 +02:00
sifiveu
starfive starfive: drop 6.1 support 2024-09-10 12:04:09 +02:00
sunxi kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
tegra tegra: promote kernel 6.6 as default 2024-07-13 14:29:16 +02:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 armsr: use console=tty1 to make console more readily available 2024-08-25 13:15:33 +02:00
zynq zynq: drop 6.1 support 2024-08-03 11:36:59 +02:00
Makefile