openwrt/target/linux/ipq40xx/patches-6.6
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
..
004-v6.7-firmware-qcom_scm-disable-SDI-if-required.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
100-ARM-dts-qcom-ipq4019-add-label-to-SCM.patch ipq40xx: 6.6: rework kernel patches for new kernel 2024-04-02 23:45:20 +02:00
104-clk-fix-apss-cpu-overclocking.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
301-arm-compressed-add-appended-DTB-section.patch
302-arm-compressed-set-ipq40xx-watchdog-to-allow-boot.patch
400-mmc-sdhci-sdhci-msm-use-sdhci_set_clock-instead-of-s.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
401-mmc-sdhci-msm-comment-unused-sdhci_msm_set_clock.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
422-firmware-qcom-scm-fix-SCM-cold-boot-address.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
444-mtd-nand-rawnand-add-support-for-Toshiba-TC58NVG0S3H.patch
700-net-ipqess-introduce-the-Qualcomm-IPQESS-driver.patch kernel: bump 6.6 to 6.6.33 and adjust subarches 2024-06-15 22:44:06 +02:00
701-net-dsa-add-out-of-band-tagging-protocol.patch kernel: bump 6.6 to 6.6.33 and adjust subarches 2024-06-15 22:44:06 +02:00
702-net-ipqess-Add-out-of-band-DSA-tagging-support.patch ipq40xx: net/ipqess: fix outbound port tag computation 2024-06-20 10:52:26 +02:00
703-net-qualcomm-ipqess-release-IRQ-s-on-network-device-.patch
704-net-qualcomm-ipqess-enable-threaded-NAPI-by-default.patch ipq40xx: net/ipqess: fix outbound port tag computation 2024-06-20 10:52:26 +02:00
705-ARM-dts-qcom-ipq4019-Add-description-for-the-IPQESS-.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch ipq40xx: dont panic on PSGMII calibration fail 2024-05-22 17:24:17 +02:00
707-arm-dts-ipq4019-add-switch-node.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
709-ARM-dts-qcom-ipq4019-add-QCA8075-PHY-Package-nodes.patch ipq40xx: fritzrepeater-1200: fix MDIO and PHY probing 2024-05-02 22:09:17 +02:00
710-arm-dts-ipq4019-QCA807x-properties.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
711-net-qualcomm-ipqess-fix-TX-timeout-errors.patch
850-soc-add-qualcomm-syscon.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
910-Revert-firmware-qcom_scm-Clear-download-bit-during-r.patch ipq40xx: 6.6: refresh kernel patches 2024-04-02 23:45:20 +02:00
998-lantiq-atm-hacks.patch
999-atm-mpoa-intel-dsl-phy-support.patch