summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Barker <paul.barker.ct@bp.renesas.com>2024-10-15 16:36:29 +0300
committerAndrew Lunn <andrew@lunn.ch>2024-10-18 05:24:24 +0300
commitfaacdbba01802c89f7043f9a47ad442c1195d307 (patch)
tree52246f0296ee63fc7baebde1017a2aec33c4f07f /tools/perf/scripts/python
parent5a2d973e36061cbf8d1ba00a9294244522715e53 (diff)
downloadlinux-faacdbba01802c89f7043f9a47ad442c1195d307.tar.xz
net: ravb: Simplify types in RX csum validation
The hardware checksum value is used as a 16-bit flag, it is zero when the checksum has been validated and non-zero otherwise. Therefore we don't need to treat this as an actual __wsum type or call csum_unfold(), we can just use a u16 pointer. Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions