openwrt/target/linux/realtek
Sven Eckelmann 84b7057fe3
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
realtek: dsa: rtl931x: Fix port L2 table flushing
The DSA driver must flush the HW FDB when a port changes from
learning/forwarding to disabled/blocking/listening.

But the implementation for RTL931x was writing the port information
starting at bit 11 (bit 11 of the second 32-bit L2_TBL_FLUSH_CTRL
register). But this offset is the AGG_VID and not the port. The actual
position is 43 (bit 11 of the first register).

As result, the FDB was always only flushed for the port 0 and not for the
selected port.

Fixes: 9ed6097054 ("realtek: Add HW support for RTL931X for PIE, L2 and STP aging")
Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20422
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-10-16 16:35:20 +02:00
..
base-files realtek: Skip auto-MAC assignment for devices with MACs in DT 2025-10-12 15:52:13 +02:00
dts realtek: rtl930x: add XGS1250-12 B1 device 2025-10-07 00:25:02 +02:00
files/firmware/rtl838x_phy
files-6.12 realtek: dsa: rtl931x: Fix port L2 table flushing 2025-10-16 16:35:20 +02:00
image realtek: rtl930x: add XGS1250-12 B1 device 2025-10-07 00:25:02 +02:00
patches-6.12 kernel: bump 6.12 to 6.12.50 2025-10-04 16:18:49 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: backport ECC driver 2025-09-30 11:15:26 +02:00
rtl839x realtek: backport ECC driver 2025-09-30 11:15:26 +02:00
rtl930x realtek: backport ECC driver 2025-09-30 11:15:26 +02:00
rtl930x_nand realtek: drop source-only from NAND targets 2025-10-05 12:14:05 +02:00
rtl931x realtek: drop source-only from rtl931x target 2025-10-04 16:16:22 +02:00
rtl931x_nand realtek: drop source-only from NAND targets 2025-10-05 12:14:05 +02:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00