[dpdk-users] Help with error: *** Did not find any ports to use ***
Krishnamurthy Srinivasan
kssrinivasan at google.com
Mon Dec 14 20:46:18 CET 2020
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.
Here, I have configured the pod with one interface with igb-uio driver.
The behavior is the same if I try pci-vfio DPDK driver. 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:
root at master-01:~# /opt/dpdk-stable-19.11.3/usertools/dpdk-devbind.py -s |
more
Network devices using DPDK-compatible driver
============================================
0000:41:0a.0 'Ethernet Virtual Function 700 Series 154c' drv=vfio-pci
unused=iavf,igb_uio
0000:41:0a.1 'Ethernet Virtual Function 700 Series 154c' drv=vfio-pci
unused=iavf,igb_uio
<additional igb-uio devices>
0000:41:0a.5 'Ethernet Virtual Function 700 Series 154c' drv=igb_uio
unused=iavf,vfio-pci
<additional vfio-pci devices>
Network devices using kernel driver
===================================
0000:41:00.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' if=enp65s0f0
drv=i40e unused=igb_uio,vfio-pci *Active*
0000:41:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' if=enp65s0f1
drv=i40e unused=igb_uio,vfio-pci
0000:41:0b.2 'Ethernet Virtual Function 700 Series 154c' if=ens3f1v10
drv=iavf unused=igb_uio,vfio-pci
....
However, when I run packetgen, I get the error:
root at 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)
I would appreciate your help with this.
Thanks,
Srini
More information about the users
mailing list