realtek: dsa: Add support for port isolation
authorSven Eckelmann <[email protected]>
Thu, 9 Oct 2025 12:59:16 +0000 (14:59 +0200)
committerRobert Marko <[email protected]>
Sun, 12 Oct 2025 10:49:49 +0000 (12:49 +0200)
commit0eeb8b7da656cd238bdde11618a29b8438c94944
treec8155a733b348a1894dceb171797b83281796906
parent9b4e1a412eb255ef069505757b7e6e796d3f8366
realtek: dsa: Add support for port isolation

If two ports are in isolation mode then these ports are not supposed to be
able to communicate between each other. This can be achieved in the realtek
switch by removing the other isolated port(s) from the port list of an
isolated port.

Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20360
Signed-off-by: Robert Marko <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.h