[dpdk-dev] [Bug 259] unable to run sample t3 as bpf-load for testpmd

bugzilla at dpdk.org bugzilla at dpdk.org
Tue Apr 30 06:53:47 CEST 2019


https://bugs.dpdk.org/show_bug.cgi?id=259

            Bug ID: 259
           Summary: unable to run sample t3 as bpf-load for testpmd
           Product: DPDK
           Version: 18.11
          Hardware: x86
                OS: Linux
            Status: CONFIRMED
          Severity: major
          Priority: Normal
         Component: testpmd
          Assignee: dev at dpdk.org
          Reporter: vipin.varghese at intel.com
  Target Milestone: ---

NIC: 
L: PCI device 0000:08:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1572 net_i40e
EAL:   PCI memory mapped at 0x1500a00000
EAL:   PCI memory mapped at 0x1501200000
EAL: PCI device 0000:08:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1572 net_i40e
EAL:   PCI memory mapped at 0x1501208000
EAL:   PCI memory mapped at 0x1501a08000


CMD: 

a) ./app/testpmd -l 3,4,5 --log-level=eal,8   --log-level=lib.bpf,8
--legacy-mem  -- -i --portmask=0x3 --port-topology=chained
--total-num-mbufs=4096
b) bpf-load rx 0 0 J ../test/bpf/t3.o

Error: 

bpf-load rx 0 0 J ../test/bpf/t3.o
validate: invalid src-reg field at pc: 10
rte_bpf_elf_load(fname="../test/bpf/t3.o", sname=".text") failed, error code:
22
-22:Invalid argument
testpmd> bpf-load rx 0 0 M ../test/bpf/t3.o
validate: invalid src-reg field at pc: 10
rte_bpf_elf_load(fname="../test/bpf/t3.o", sname=".text") failed, error code:
22
-22:Invalid argument
testpmd> bpf-load rx 0 0 B ../test/bpf/t3.o
unknown flag: 'B'validate: invalid src-reg field at pc: 10
rte_bpf_elf_load(fname="../test/bpf/t3.o", sname=".text") failed, error code:
22
-22:Invalid argument
testpmd> bpf-load rx 0 0 - ../test/bpf/t3.o
unknown flag: 'B'validate: invalid src-reg field at pc: 10
rte_bpf_elf_load(fname="../test/bpf/t3.o", sname=".text") failed, error code:
22
-22:Invalid argument

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list