diff options
author | 2024-10-15 14:36:29 +0100 | |
---|---|---|
committer | 2024-10-17 21:24:24 -0500 | |
commit | faacdbba01802c89f7043f9a47ad442c1195d307 (patch) | |
tree | 52246f0296ee63fc7baebde1017a2aec33c4f07f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: ravb: Combine if conditions in RX csum validation (diff) | |
download | wireguard-linux-faacdbba01802c89f7043f9a47ad442c1195d307.tar.xz wireguard-linux-faacdbba01802c89f7043f9a47ad442c1195d307.zip |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions