diff options
author | Puranjay Mohan <puranjay@kernel.org> | 2024-10-26 15:53:39 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-10-30 17:29:59 +0300 |
commit | 00c1f3dc66a38cf65c3cfd0cb4fe7acfc7f60e37 (patch) | |
tree | 46398a19cf8a4ae5dfdeb5d67da7bd9002a3859a /tools/perf/scripts/python/stackcollapse.py | |
parent | b87f584024e1df289027cb7671de6af0d97b5de9 (diff) | |
download | linux-00c1f3dc66a38cf65c3cfd0cb4fe7acfc7f60e37.tar.xz |
selftests/bpf: Add a selftest for bpf_csum_diff()
Add a selftest for the bpf_csum_diff() helper. This selftests runs the
helper in all three configurations(push, pull, and diff) and verifies
its output. The correct results have been computed by hand and by the
helper's older implementation.
Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20241026125339.26459-5-puranjay@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions