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:24:24 +0000 (22:24 +0200)
commit8ff1d27e4895a597b00cb68b2e1936b186700223
tree494b6b6839d43d5afd501ee48f0226d382966d1b
parent25a041f50bacf23d6530e78a4da4a4cc02a28109
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