Re: [PATCH 1/3] selftests/bpf: test_xdp_redirect: Rename BPF sections
From: Alexis Lothoré
Date: Fri Jan 03 2025 - 08:19:14 EST
On 1/3/25 11:10, Bastien Curutchet (eBPF Foundation) wrote:
> SEC("redirect_to_111") and SEC("redirect_to_222") can't be loaded by the
> __load() helper.
>
> Rename both sections SEC("xdp") so it can be interpreted by the __load()
> helper in upcoming patch.
> Update the test_xdp_redirect.sh to use the program name instead of the
> section name to load the BPF program.
>
> Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@xxxxxxxxxxx>
LGTM :)
Reviewed-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@xxxxxxxxxxx>
--
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com