aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_skb_helpers.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-09-28 09:19:38 -0700
committerAlexei Starovoitov <[email protected]>2021-09-28 13:51:19 -0700
commit8fffa0e3451abdd84e4b4e427f7e66040eb24f43 (patch)
treed2ce43e779b153b109da250117af6e3279d19d2f /tools/testing/selftests/bpf/progs/test_skb_helpers.c
parent9673268f03ba72efcc00fa95f3fe3744fcae0dd0 (diff)
selftests/bpf: Normalize XDP section names in selftests
Convert almost all SEC("xdp_blah") uses to strict SEC("xdp") to comply with strict libbpf 1.0 logic of exact section name match for XDP program types. There is only one exception, which is only tested through iproute2 and defines multiple XDP programs within the same BPF object. Given iproute2 still works in non-strict libbpf mode and it doesn't have means to specify XDP programs by its name (not section name/title), leave that single file alone for now until iproute2 gains lookup by function/program name. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Dave Marchevsky <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_skb_helpers.c')
0 files changed, 0 insertions, 0 deletions