[PATCH v2 1/2] bpf: make bpf_def.h private
Konstantin Ananyev
konstantin.ananyev at huawei.com
Wed Sep 16 14:59:44 CEST 2026
> Both `bpf_def.h` header file and the symbols it defined were not
> previously prefixed with `rte_`, creating an opportunity for name
> conflicts. Status of the file itself (private or public) was unclear.
>
> Move public symbols after adding the necessary prefix (`rte_ebpf_insn`
> and `RTE_BPF_FUNC_MAX_ARGS`) into the public header file `rte_bpf.h`,
> and make the rest private.
>
> Signed-off-by: Marat Khalili <marat.khalili at huawei.com>
> ---
Acked-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>
As it is a public API change - It is probably worth a line or two in official RN for 26.11
> --
> 2.43.0
More information about the dev
mailing list