openwrt/target/linux/realtek/files-5.10/drivers/net/ethernet
Sander Vanheule 8614b8eb5f 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>
(cherry picked from commit d9516cacb0)
2022-07-21 20:59:51 +02:00
..
rtl838x_eth.c realtek: fix egress port mask on rtl839x 2022-07-21 20:59:51 +02:00
rtl838x_eth.h realtek: switch to use generic MDIO accessor functions 2022-02-17 15:21:47 +00:00