openwrt/target/linux/realtek/files-5.10/drivers/net/ethernet
Sander Vanheule d6165ea75b realtek: fix egress L2 learning on rtl839x
The flag to enable L2 address learning on egress frames is in CPU header
bit 40, with bit 0 being the leftmost bit of the header. This
corresponds to BIT(7) in the third 16-bit value of the header.

Correctly set L2LEARNING by fixing the off-by-one error.

Fixes: 9eab76c84e ("realtek: Improve TX CPU-Tag usage")
Tested-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2022-07-17 10:06:40 +02:00
..
rtl838x_eth.c realtek: fix egress L2 learning on rtl839x 2022-07-17 10:06:40 +02:00
rtl838x_eth.h realtek: switch to use generic MDIO accessor functions 2022-02-17 15:21:47 +00:00