diff options
| author | Jakub Sitnicki <jakub@cloudflare.com> | 2025-11-05 21:19:47 +0100 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-11-10 10:52:32 -0800 |
| commit | 967534e57c4439ba43b31f4af4cb85e84c86e6b7 (patch) | |
| tree | ac908a28e5f7b52b10c6dabbbc2cbcd2033de086 /tools/perf/scripts/python/bin | |
| parent | fb206fc3129bc9d4749905d4870ba05dc89126d2 (diff) | |
| download | linux-967534e57c4439ba43b31f4af4cb85e84c86e6b7.tar.gz linux-967534e57c4439ba43b31f4af4cb85e84c86e6b7.zip | |
selftests/bpf: Verify skb metadata in BPF instead of userspace
Move metadata verification into the BPF TC programs. Previously,
userspace read metadata from a map and verified it once at test end.
Now TC programs compare metadata directly using __builtin_memcmp() and
set a test_pass flag. This enables verification at multiple points during
test execution rather than a single final check.
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20251105-skb-meta-rx-path-v4-10-5ceb08a9b37b@cloudflare.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
