DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 259] unable to run sample t3 as bpf-load for testpmd
@ 2019-04-30  4:53 bugzilla
  2019-04-30  4:53 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2019-04-30  4:53 UTC (permalink / raw)
  To: dev

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@dpdk.org
          Reporter: vipin.varghese@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-dev] [Bug 259] unable to run sample t3 as bpf-load for testpmd
  2019-04-30  4:53 [dpdk-dev] [Bug 259] unable to run sample t3 as bpf-load for testpmd bugzilla
@ 2019-04-30  4:53 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2019-04-30  4:53 UTC (permalink / raw)
  To: dev

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@dpdk.org
          Reporter: vipin.varghese@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-30  4:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-30  4:53 [dpdk-dev] [Bug 259] unable to run sample t3 as bpf-load for testpmd bugzilla
2019-04-30  4:53 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).