openwrt/target/linux/realtek/files-5.10/drivers/net
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
..
dsa/rtl83xx realtek: do not reset SerDes on link change 2022-05-14 21:26:14 +02:00
ethernet realtek: fix egress port mask on rtl839x 2022-07-21 20:59:51 +02:00
phy realtek: rtl83xx-phy: abstract and document PHY features 2022-02-17 15:37:03 +00:00