[dpdk-users] Failed to load t3.o ebpf example
孙向鹏
sunxiangpeng at kuaishou.com
Thu Feb 4 05:19:27 CET 2021
Hi DPDK Experts,
I try to run ebpf example provided by dpdk source. However, it seems like dpdk cannot validate the t3.o and gives me the following error
testpmd> bpf-load rx 0 0 JM t3.o
validate: invalid src-reg field at pc: 10
rte_bpf_elf_load(fname="t3.o", sname=".text") failed, error code: 22
-22:Invalid argument
Seems like the call pc 10 is invalid to the validate code. My testbed is based on dpdk-stable-18.11.2 / clang version 7.0.1 (tags/RELEASE_701/final) / Linux localhost.localdomain 3.10.0-1160.11.1.el7.x86_64 #1 SMP Fri Dec 18 16:34:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux.
Yours,
Xiangpeng Sun
More information about the users
mailing list