]> git.droids-corp.org - dpdk.git/commit
doc: update libxdp usage in af_xdp guide
authorCiara Loftus <ciara.loftus@intel.com>
Fri, 11 Feb 2022 15:03:05 +0000 (15:03 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 11 Feb 2022 17:24:36 +0000 (18:24 +0100)
commit392e023d80344c598ccea0350bfee1640add9bdf
tree75fd5b33d936fe84b5b069153397a4e2f90ac582
parent26b7259a798d03649a733f3a3fc240a1152dee71
doc: update libxdp usage in af_xdp guide

When libxdp is used, the LIBXDP_OBJECT_PATH environment variable must be
set to the location of where libxdp placed its bpf object files. This is
usually in /usr/local/lib/bpf or /usr/local/lib64/bpf. Failure to do so
will result in the PMD not initialising correctly as the bpf program is
not found. Document this requirement.

Also, mention that the following logs which are generated on application
launch can be ignored:

  libbpf: elf: skipping unrecognized data section(7) .xdp_run_config
  libbpf: elf: skipping unrecognized data section(8) xdp_metadata

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/nics/af_xdp.rst