From: Krishnamurthy Srinivasan <kssrinivasan@google.com>
To: users@dpdk.org
Subject: [dpdk-users] Help with error: *** Did not find any ports to use ***
Date: Sun, 13 Dec 2020 22:03:44 -0700 [thread overview]
Message-ID: <CAMj+VahF2nBvfe4cehmTDnvQDEXn3d81tnTs2zaq_gphunnvjw@mail.gmail.com> (raw)
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
next reply other threads:[~2020-12-16 21:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-14 5:03 Krishnamurthy Srinivasan [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMj+VahF2nBvfe4cehmTDnvQDEXn3d81tnTs2zaq_gphunnvjw@mail.gmail.com \
--to=kssrinivasan@google.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).