selftests/bpf: Use vmlinux.h in test_xdp_meta
authorIhor Solodrai <ihor.solodrai@linux.dev>
Wed, 18 Feb 2026 21:56:50 +0000 (13:56 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 18 Feb 2026 22:58:47 +0000 (14:58 -0800)
commitb3dfa128f7da7c4dd371a4aff685cd249604e029
tree2782aa91e5c288da06240df01828296047d1987c
parent3b39d73cc3379360a33eb583b17f21fe55e1288e
selftests/bpf: Use vmlinux.h in test_xdp_meta

- Replace linux/* includes with vmlinux.h
- Include errno.h
- Include bpf_tracing_net.h for TC_ACT_* and ETH_*
- Use BPF_STDERR instead of BPF_STREAM_STDERR

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Link: https://lore.kernel.org/r/20260218215651.2057673-2-ihor.solodrai@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/test_xdp_meta.c