]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: rtl93xx: Ignore STP for per port TX 20184/head
authorIssam Hamdi <ih@simonwunderlich.de>
Tue, 9 Sep 2025 13:32:29 +0000 (15:32 +0200)
committerRobert Marko <robimarko@gmail.com>
Fri, 3 Oct 2025 17:26:18 +0000 (19:26 +0200)
commit0d6b7fb56e06490caf70daad2e6e5386190569c3
treed396929593143edf561b3a3d3ab111d05c1b6f93
parentbe84bb3a7808cefb906ba50ecab5170ce4623040
realtek: rtl93xx: Ignore STP for per port TX

If transmissions are done outside of the DSA switch (directly from the CPU
port), the STP state must not block the transmission. Otherwise, STP frames
are not correctly submitted and the STP frames cannot correctly detect
loops before switching a port in the forwarding state.

The same applies for the LLDP frames. These must be submitted independent
of the STP state to identify neighbors or configure POE limits.

It is not necessary to filter specific destination mac addresses because
the transmission was done outside the bridge/switch in the first place. The
transmission is therefore forced.

Signed-off-by: Issam Hamdi <ih@simonwunderlich.de>
Co-developed-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Link: https://github.com/openwrt/openwrt/pull/20184
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.h