> -----Original Message-----
> From: Stephen Hemminger <[email protected]>
> Sent: Wednesday 1 July 2026 23:35
> To: [email protected]
> Cc: Stephen Hemminger <[email protected]>; Konstantin Ananyev
> <[email protected]>;
> Marat Khalili <[email protected]>
> Subject: [PATCH 2/2] bpf: silence noisy message
>
> The recent loader change causes a log message every time BPF
> is used. For example, running dpdk-dumpcap cause:
> BPF: rte_bpf_load_ex(): successfully creates ...
>
> This is a debug message and should not normally be needed.
>
> Fixes: 55192fe168b9 ("bpf: introduce extensible load API")
The commit message and Fixes tag are not 100% accurate, this message existed
before:
https://github.com/DPDK/dpdk/blob/09e4f37ddd0f7d5cc7c696741f31f1582c73a716/lib/bpf/bpf_load_elf.c#L331-L333
(In fact I tried to eliminate it, but had to but back at the insistence of AI
reviewer
and even broke the build in the process...)
So naturally I support downgrading this message. With the commit message
corrected,
Acked-by: Marat Khalili <[email protected]>
>
> Signed-off-by: Stephen Hemminger <[email protected]>
> ---
> lib/bpf/bpf_load.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/bpf/bpf_load.c b/lib/bpf/bpf_load.c
> index 2fd0ee0720..36f6556fd5 100644
> --- a/lib/bpf/bpf_load.c
> +++ b/lib/bpf/bpf_load.c
> @@ -286,7 +286,7 @@ rte_bpf_load_ex(const struct rte_bpf_prm_ex *prm)
> return NULL;
> }
>
> - RTE_BPF_LOG_FUNC_LINE(INFO, "successfully creates
> %p(jit={.func=%p,.sz=%zu});",
> + RTE_BPF_LOG_FUNC_LINE(DEBUG, "successfully creates
> %p(jit={.func=%p,.sz=%zu});",
> load.bpf, load.bpf->jit.raw, load.bpf->jit.sz);
> return load.bpf;
> }
> --
> 2.53.0