test-pmd strange output on AF_XDP

Alessio Igor Bogani alessio.bogani at elettra.eu
Fri Apr 29 21:00:57 CEST 2022


Hi Ciara,

First of all: Thanks for help!

On Fri, 29 Apr 2022 at 15:50, Loftus, Ciara <ciara.loftus at intel.com> wrote:
[...]
> > Configuring Port 0 (socket 0)
> > libbpf: elf: skipping unrecognized data section(7) .xdp_run_config
> > libbpf: elf: skipping unrecognized data section(8) xdp_metadata
> > libxdp: XDP flag not supported by libxdp.
> > libbpf: elf: skipping unrecognized data section(7) xdp_metadata
> > libbpf: prog 'xdp_dispatcher': BPF program load failed: Invalid argument
> > libbpf: prog 'xdp_dispatcher': -- BEGIN PROG LOAD LOG --
> > Validating prog0() func#1...
> > btf_vmlinux is malformed
> > Arg#0 type PTR in prog0() is not supported yet.
> > processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0
> > peak_states 0 mark_read 0
> > -- END PROG LOAD LOG --
> > libbpf: failed to load program 'xdp_dispatcher'
> > libbpf: failed to load object '/usr/local/lib/bpf//xdp-dispatcher.o'
> > libxdp: Failed to load dispatcher: Invalid argument
> > libxdp: Falling back to loading single prog without dispatcher

> This looks like the libxdp issue reported here: https://github.com/xdp-project/xdp-tools/issues/184
> It looks like a fix was pushed to libxdp to address it. Could you try that out and see if it solves your issue?

Unfortunately I already have it: Indeed I'm using the tip of the HEAD
of both DPDK and xdk-tools (which contains libxdp).

I'll continue to investigate.

Ciao,
Alessio


More information about the users mailing list