summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorWei Fang <wei.fang@nxp.com>2025-11-06 05:14:21 +0300
committerJakub Kicinski <kuba@kernel.org>2025-11-08 05:55:27 +0300
commitad17e7e92a7c52ce70bb764813fcf99464f96903 (patch)
tree015237fb5d9e3570ab8bdd93c0aef08fb5e25af1 /rust/helpers/task.c
parent57531b3416448d1ced36a2a974a4085ec43d57b0 (diff)
downloadlinux-ad17e7e92a7c52ce70bb764813fcf99464f96903.tar.xz
net: fec: correct rx_bytes statistic for the case SHIFT16 is set
Two additional bytes in front of each frame received into the RX FIFO if SHIFT16 is set, so we need to subtract the extra two bytes from pkt_len to correct the statistic of rx_bytes. Fixes: 3ac72b7b63d5 ("net: fec: align IP header in hardware") Signed-off-by: Wei Fang <wei.fang@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20251106021421.2096585-1-wei.fang@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions