realtek: fix RTL839x receive tag decoding
authorBjørn Mork <bjorn@mork.no>
Fri, 9 Sep 2022 06:28:13 +0000 (08:28 +0200)
committerSander Vanheule <sander@svanheule.net>
Fri, 9 Sep 2022 20:11:55 +0000 (22:11 +0200)
commit2ca56028645c305d3d6b2a64b4bc8bbb5aaeebef
tree95ad03a7dacf18c97c9912673970966e6201dcbf
parent2510a587a69101e0f2e7f73a84e1c348e0113d2a
realtek: fix RTL839x receive tag decoding

The previous fixup was incomplete, and the offsets for the
queue and crc_error cpu_tag bitfields were still wrong on
RTL839x.

Fixes: 545c6113c93b ("realtek: fix RTL838x receive tag decoding")
Suggested-by: Jan Hoffmann <jan@3e8.eu>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c