DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Help with error: *** Did not find any ports to use ***
@ 2020-12-14  5:03 Krishnamurthy Srinivasan
  2020-12-14 19:46 ` Krishnamurthy Srinivasan
  0 siblings, 1 reply; 5+ messages in thread
From: Krishnamurthy Srinivasan @ 2020-12-14  5:03 UTC (permalink / raw)
  To: users

I have seen that this error has been brought up before.  However, the
solutions discussed did not help resolve the error. I would appreciate any
help.

I am running DPDK version 20.11 with Pktgen 3.7.2 on Ubuntu 20.04/K8s.   My
server has Intel Ethernet Controller X710 for 10GbE.

My kubectl description shows the network config to be OK:

Annotations:  k8s.v1.cni.cncf.io/network-status:
                [{
                    "name": "cilium",
                    "interface": "eth0",
                    "ips": [
                        "172.16.1.76"
                    ],
                    "mac": "36:22:fd:9e:b7:37",
                    "default": true,
                    "dns": {}
                },{
                    "name": "igb-uio-network",
                    "interface": "net1",
                    "ips": [
                        "172.16.1.120"
                    ],
                    "dns": {}
                }]

"dpdk-devbind -s" seems to list the interfaces correctly.  However, when I
run packetgen, I get the error:

root@pktgen-68b4d77fdc-q67fk:/usr/src/pktgen/Builddir/app# ./pktgen -l
3,4,27,28 --socket-mem=1024 --master-lcore 3 -- -m [4/27-28].0

Copyright (c) <2010-2020>, Intel Corporation. All rights reserved. Powered
by DPDK
EAL: Detected 48 lcore(s)
EAL: Detected 1 NUMA nodes
Option --master-lcore is deprecated use main-lcore
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created

*** Copyright (c) <2010-2020>, Intel Corporation. All rights reserved.
*** Pktgen  created by: Keith Wiles -- >>> Powered by DPDK <<<

 Port: Name         IfIndex Alias        NUMA  PCI

!PANIC!: *** Did not find any ports to use ***
PANIC in pktgen_config_ports():
*** Did not find any ports to use ***
6: [./pktgen(+0xa7ee) [0x55ebeb9f97ee]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)
[0x7f37d11bf0b3]]
4: [./pktgen(+0xa355) [0x55ebeb9f9355]]
3: [./pktgen(+0x2f456) [0x55ebeba1e456]]
2: [/usr/local/lib/x86_64-linux-gnu/librte_eal.so.21(__rte_panic+0xcd)
[0x7f37d1436d2f]]
1: [/usr/local/lib/x86_64-linux-gnu/librte_eal.so.21(rte_dump_stack+0x32)
[0x7f37d145b182]]
Aborted (core dumped)

The behavior is the same if I try pci-vfio DPDK driver.    I would
appreciate your help with this.

Thanks,

Srini

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

end of thread, other threads:[~2020-12-16 21:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14  5:03 [dpdk-users] Help with error: *** Did not find any ports to use *** Krishnamurthy Srinivasan
2020-12-14 19:46 ` Krishnamurthy Srinivasan
2020-12-14 20:52   ` David Marchand
2020-12-14 22:07     ` Krishnamurthy Srinivasan
2020-12-15 15:36       ` Krishnamurthy Srinivasan

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).