ImmortalWrt/target/linux/realtek/files-5.15
Jan Hoffmann 5d34fc92ec realtek: fix standalone ports in presence of static fdb entries
The registers L2_PORT_STATIC_MV_ACT seem to specify the action to take
when the source address of a packet exists as a static fdb entry on
another port. By default the configured action is to drop such packets.

For standalone ports, this behaviour is undesired, as all traffic should
be forwarded to the CPU. So change the action to forward on standalone
ports.

A situation where this issue can occur is when a non-offloaded bond
interface is part of a bridge. In that case, the CPU port will have fdb
entries for devices connected to the bond interface, which are managed
by the assisted learning feature.

For now, this is only implemented for RTL838x/RTL839x, as the available
set of registers differs for the other devices.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-05-07 19:07:34 +02:00
..
arch/mips realtek: use generic earlycon setup on 5.15 2023-01-30 14:30:41 +01:00
Documentation/devicetree/bindings realtek: Whitespace and codestyle cleanup 2022-12-27 16:31:48 +01:00
drivers realtek: fix standalone ports in presence of static fdb entries 2023-05-07 19:07:34 +02:00
include/dt-bindings/clock