openwrt-mirror/target/linux
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
..
airoha airoha: drop kernel 6.1 support 2024-06-05 09:34:06 +02:00
apm821xx apm821xx: drop 6.1 kernel support files 2024-06-17 12:58:41 +02:00
archs38 archs38: remove 5.15 support 2024-03-29 09:58:45 +01:00
armsr kernel: armsr: Renesas: RZ: Ethernet module and ttySC0 2024-06-17 00:10:53 +02:00
at91 at91: 5.15: remove old config and patch files 2024-04-28 17:50:37 +02:00
ath79 ath79: mikrotik: set compat version for NAND devices 2024-06-19 12:26:19 +02:00
bcm27xx kernel: bump 6.6 to 6.6.34 2024-06-20 01:55:19 +02:00
bcm47xx bcm47xx: Remove profiles for broadcom-wl 2024-06-14 14:54:16 +02:00
bcm53xx kernel: bump 6.1 to 6.1.89 2024-04-30 20:18:15 +02:00
bcm4908 bcm4908: set kernel 6.6 as a testing version 2024-04-27 12:14:00 +02:00
bmips bmips: Build U-Boot into the XG6846 target 2024-05-01 21:32:23 +02:00
d1 d1: drop 6.1 support 2024-05-29 17:56:28 +02:00
gemini kernel: bump 6.6 to 6.6.33 and adjust subarches 2024-06-15 22:44:06 +02:00
generic kernel: bump 6.1 to 6.1.94 2024-06-20 10:41:50 +02:00
imx kernel: bump 6.1 to 6.1.92 2024-06-08 14:16:19 +02:00
ipq40xx ipq40xx: net/ipqess: fix outbound port tag computation 2024-06-20 10:52:26 +02:00
ipq806x kernel: bump 6.6 to 6.6.34 2024-06-20 01:55:19 +02:00
ixp4xx ixp4xx: Add back support for D-Link DSM G600 A 2024-05-25 09:17:19 +02:00
kirkwood treewide: gpio to gpios 2024-06-17 12:57:06 +02:00
lantiq lantiq: fix pci driver once again 2024-06-20 09:56:50 +02:00
layerscape kernel: bump 6.6 to 6.6.33 and adjust subarches 2024-06-15 22:44:06 +02:00
loongarch64 kernel: bump 6.6 to 6.6.33 and adjust subarches 2024-06-15 22:44:06 +02:00
malta malta: Remove kernel 6.1 configuration 2024-05-28 22:10:53 +02:00
mediatek treewide: gpio to gpios 2024-06-17 12:57:06 +02:00
mpc85xx mpc85xx: fix label-mac-address for Enterasys WS-AP3710i 2024-06-16 14:02:19 +02:00
mvebu kernel: bump 6.6 to 6.6.34 2024-06-20 01:55:19 +02:00
mxs mxs: drop 6.1 support 2024-04-25 14:33:22 +02:00
octeon octeon: convert to new LED color/function format where possible 2024-02-07 14:48:41 +01:00
omap omap: drop kernel 5.15 2024-02-13 19:05:48 +01:00
pistachio pistachio: 6.1: refresh kernel patches 2024-04-22 11:27:05 +02:00
qoriq qoriq: add kernel 6.1 support 2024-04-18 00:30:03 +03:00
qualcommax treewide: gpio to gpios 2024-06-17 12:57:06 +02:00
ramips ramips: Fix DOS line endings 2024-06-19 00:01:41 +02:00
realtek realtek: Trap LLDP packets to the CPU 2024-05-10 16:03:51 +02:00
rockchip rockchip: Add cache information to the SoC dtsi for RK356x 2024-06-16 21:59:11 +02:00
sifiveu sifiveu: drop 6.1 support 2024-04-30 11:02:48 +02:00
starfive generic: 6.1: backport AXP PMIC support 2024-03-26 21:56:57 +01:00
sunxi treewide: gpio to gpios 2024-06-17 12:57:06 +02:00
tegra kernel: bump 6.6 to 6.6.33 and adjust subarches 2024-06-15 22:44:06 +02:00
uml uml: drop 6.1 kernel support files 2024-06-17 12:59:06 +02:00
x86 kernel: bump 6.6 to 6.6.33 and adjust subarches 2024-06-15 22:44:06 +02:00
zynq zynq: 5.15: remove files 2024-05-01 10:26:41 +02:00
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00