]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: Support when CONFIG_VXLAN=m
authorAlan Maguire <alan.maguire@oracle.com>
Thu, 15 Jan 2026 16:34:57 +0000 (16:34 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 16 Jan 2026 22:54:10 +0000 (14:54 -0800)
commit47d440d0a5bb822f3f4e4b2479246da5efb765e6
treecb3cdd69faf3e06d1cc7f818c4ad245000caaaf1
parent999b2395e3c32273dec98f811f0ab5c8a7441850
selftests/bpf: Support when CONFIG_VXLAN=m

If CONFIG_VXLAN is 'm', struct vxlanhdr will not be in vmlinux.h.
Add a ___local variant to support cases where vxlan is a module.

Fixes: 8517b1abe5ea ("selftests/bpf: Integrate test_tc_tunnel.sh tests into test_progs")
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260115163457.146267-1-alan.maguire@oracle.com
tools/testing/selftests/bpf/progs/test_tc_tunnel.c