openwrt/target/linux/realtek/files-5.10/drivers/net/ethernet
Sander Vanheule d9516cacb0 realtek: fix egress port mask on rtl839x
The flag to enable the outgoing port mask is in CPU header bit 43, with
bit 0 being the leftmost bit of the header. This corresponds to BIT(4)
in the third 16-bit value of the header.

Correctly set AS_DPM 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:32 +02:00
..
rtl838x_eth.c realtek: fix egress port mask on rtl839x 2022-07-17 10:06:32 +02:00
rtl838x_eth.h realtek: switch to use generic MDIO accessor functions 2022-02-17 15:21:47 +00:00