[PATCH v4 1/1] bpf: make bpf_def.h private

Thomas Monjalon thomas at monjalon.net
Thu Oct 15 23:27:31 CEST 2026


18/09/2026 11:21, Marat Khalili:
> From: Marat Khalili <marat.khalili at huawei.com>
> 
> 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>

Applied, thanks.





More information about the dev mailing list