openwrt/target/linux/ipq40xx
Matthias Schiffer 0b6b54eca9 ipq40xx: net/ipqess: fix outbound port tag computation
Since the introduction of out-of-band tagging, writing the outbound tag
had been completely broken: First, in place of a port mask containing
the port number, just the port number itself was set in the register
value. Just after that, the full port mask 0x3e (all 5 external ports)
was set unconditionally.

This remained unnoticed because the switch would then use the FDB to
decide where to send unicast packets; broadcast and multicast packets
were however sent to every port.

Fix the port tag computation and only use the full port mask as a
fallback for non-DSA mode, as it was done in the older driver patches
used on Linux 5.15.

Fixes: cd9c721124 ("ipq40xx: 6.1: use latest DSA and ethernet patches")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-06-20 10:52:26 +02:00
..
base-files ipq40xx: fix invalid GPIO numbers since kernel 6.6 2024-06-12 14:25:56 +02:00
chromium ipq40xx: cut ath10k board file for mikrotik subtarget 2022-05-27 14:15:09 +02:00
files-6.6/arch/arm/boot/dts/qcom treewide: gpio to gpios 2024-06-17 12:57:06 +02:00
generic ipq40xx: cut ath10k board file for mikrotik subtarget 2022-05-27 14:15:09 +02:00
image ipq40xx: fix broken image generation for EX6150v2 2024-06-08 02:09:15 +02:00
mikrotik ipq40xx: cut ath10k board file for mikrotik subtarget 2022-05-27 14:15:09 +02:00
patches-6.6 ipq40xx: net/ipqess: fix outbound port tag computation 2024-06-20 10:52:26 +02:00
config-6.6 ipq40xx: use NVMEM-on-UBI for ASUS RT-AC58U 2024-06-05 13:46:00 +01:00
Makefile ipq40xx: switch default to 6.6 2024-04-26 12:30:01 +02:00