openwrt/target/linux/realtek/files-5.10/drivers
Jan Hoffmann eb456aedfe realtek: use assisted learning on CPU port
L2 learning on the CPU port is currently not consistently configured and
relies on the default configuration of the device. On RTL83xx, it is
disabled for packets transmitted with a TX header, as hardware learning
corrupts the forwarding table otherwise. As a result, unneeded flooding
of traffic for the CPU port can already happen on some devices now. It
is also likely that similar issues exist on RTL93xx, which doesn't have
a field to disable learning in the TX header.

To address this, disable hardware learning for the CPU port globally on
all devices. Instead, enable assisted learning to let DSA write FDB
entries to the switch.

For now, this does not sync local/bridge entries to the switch. However,
support for that was added in Linux 5.14, so the next switch to a newer
kernel version is going to fix this.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2022-10-26 09:59:38 +02:00
..
clk/realtek realtek: fix PLL register inconsistencies 2022-08-31 23:25:39 +02:00
clocksource realtek: resurrect timer driver 2022-10-23 22:33:08 +02:00
gpio realtek: separate lock of RTL8231 from phy driver 2022-10-08 11:05:02 +02:00
i2c realtek: Add support for RTL9300/RTL9310 I2C multiplexing 2022-02-17 15:21:46 +00:00
net realtek: use assisted learning on CPU port 2022-10-26 09:59:38 +02:00