[PATCH bpf-next 5/5] selftests/bpf: Add a selftest for bpf_csum_diff()

Daniel Borkmann daniel at iogearbox.net
Mon Oct 21 06:44:09 PDT 2024


On 10/21/24 2:21 PM, Puranjay Mohan wrote:
> 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 at kernel.org>

Acked-by: Daniel Borkmann <daniel at iogearbox.net>



More information about the linux-riscv mailing list