openwrt/target/linux/realtek/files-5.10
Jan Hoffmann c94ca63ed4 realtek: don't set L2LEARNING flag in rtl83xx TX header
As learning for the CPU port is now disabled globally, the bit in the
TX header doesn't have any effect anymore. Remove it to make the header
consistent with the global configuration.

Originally, this change was intended to be applied before commit
eb456aedfe ("realtek: use assisted learning on CPU port"), which is
why the commit message incorrectly mentions that the TX header already
disables learning.

The reason for disabling learning on the CPU port in the first place is
that it doesn't work correctly when packets are trapped to the CPU and
then forwarded by the CPU to other ports. In that case, the switch would
incorrectly learn the CPU port as source. An example that triggered this
issue are Multicast Listener Reports and IGMP membership reports.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2022-12-27 16:29:39 +01:00
..
arch/mips realtek: use MIPS fw_init_cmdline() 2022-10-08 11:05:02 +02:00
Documentation/devicetree/bindings realtek: timer driver: documentation 2022-10-23 22:33:08 +02:00
drivers realtek: don't set L2LEARNING flag in rtl83xx TX header 2022-12-27 16:29:39 +01:00
include/dt-bindings/clock realtek: add PLL DT binding includes 2022-08-28 11:03:34 +02:00