]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: test_xdp_meta: Rename BPF sections
authorBastien Curutchet <bastien.curutchet@bootlin.com>
Fri, 13 Dec 2024 15:06:20 +0000 (16:06 +0100)
committerMartin KaFai Lau <martin.lau@kernel.org>
Mon, 16 Dec 2024 21:24:33 +0000 (13:24 -0800)
commit8dccbecbb9692a96cf477eb826352a7c556a31e2
treea68ab22b0df7fb37990455eb7cce163b9b0b30b6
parent2309132fc5d9d87deb15bda3497326aded6bfe4a
selftests/bpf: test_xdp_meta: Rename BPF sections

SEC("t") and SEC("x") can't be loaded by the __load() helper.

Rename these sections SEC("tc") and SEC("xdp") so they can be
interpreted by the __load() helper in upcoming patch.
Update the test_xdp_meta.sh to fit these new names.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20241213-xdp_meta-v2-1-634582725b90@bootlin.com
tools/testing/selftests/bpf/progs/test_xdp_meta.c
tools/testing/selftests/bpf/test_xdp_meta.sh