]> Gentwo Git Trees - linux/.git/commit
selftests/bpf: Pass just bpf_map to xdp_context_test helper
authorJakub Sitnicki <jakub@cloudflare.com>
Thu, 14 Aug 2025 09:59:30 +0000 (11:59 +0200)
committerMartin KaFai Lau <martin.lau@kernel.org>
Mon, 18 Aug 2025 17:29:42 +0000 (10:29 -0700)
commit6dfd5e01e1a7728e162f721cd8adf5ecd24fbc80
tree0505d5357c0759f527387d1f8091e08d8b9cdc2e
parent0e74eb4d57f00e6103ac23ce2312766c25ad88f6
selftests/bpf: Pass just bpf_map to xdp_context_test helper

Prepare for parametrizing the xdp_context tests. The assert_test_result
helper doesn't need the whole skeleton. Pass just what it needs.

Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Reviewed-by: Jesse Brandeburg <jbrandeburg@cloudflare.com>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://patch.msgid.link/20250814-skb-metadata-thru-dynptr-v7-4-8a39e636e0fb@cloudflare.com
tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c