Hi,

I am running the DPDK test suite (DTS) in a VM and I see a lot of the test 
cases failing when running the testpmd application

I manually run the testpmd application as follows and I see this error:

test at pts00606-vm2:~/dpdk-16.04$ sudo 
./ppc_64-power8-linuxapp-gcc/app/testpmd -c 1 -n 4  -- -i --max-pkt-len=9000 
--port-topology=loop --txqflags=0
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 8 on socket 0
EAL: Detected lcore 2 as core 16 on socket 0
EAL: Detected lcore 3 as core 24 on socket 0
EAL: Support maximum 256 logical core(s) by configuration.
EAL: Detected 4 lcore(s)
EAL: Probing VFIO support...
EAL:   IOMMU type 1 (Type 1) is not supported
EAL:   IOMMU type 8 (No-IOMMU) is not supported
EAL:   no supported IOMMU extensions found!
EAL: VFIO support could not be initialized
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0x1000000 bytes
EAL: Virtual area found at 0x3fff7f000000 (size = 0x1000000)
EAL: Ask a virtual area of 0xf0000000 bytes
EAL: Virtual area found at 0x3ffe90000000 (size = 0xf0000000)
EAL: Ask a virtual area of 0xf000000 bytes
EAL: Virtual area found at 0x3fff71000000 (size = 0xf000000)
EAL: Requesting 256 pages of size 16MB from socket 0
EAL: TSC frequency is ~511999 KHz
EAL: Master lcore 0 is ready (tid=80815f20;cpuset=[0])
EAL: No probed ethernet devices
PANIC in main():
Empty set of forwarding logical cores - check the core mask supplied in the 
command parameters
5: [/lib/powerpc64le-linux-gnu/libc.so.6(__libc_start_main+0xb4) 
[0x3fff80473734]]
4: [/lib/powerpc64le-linux-gnu/libc.so.6(+0x23500) [0x3fff80473500]]
3: [./ppc_64-power8-linuxapp-gcc/app/testpmd(main+0x7f8) [0x100214d8]]
2: [./ppc_64-power8-linuxapp-gcc/app/testpmd(__rte_panic+0x80) [0x10020994]]
1: [./ppc_64-power8-linuxapp-gcc/app/testpmd(rte_dump_stack+0x40) [0x100881d0]]

My VM has 3 interfaces and as per the docs I loaded the uio_pci_generic driver 
and did a bind for one of the 3 interfaces

sudo modprobe uio_pci_generic

sudo ./tools/dpdk_nic_bind.py --bind=uio_pci_generic 0000:00:05.0

test at pts00606-vm2:~/dpdk-16.04$ ./tools/dpdk_nic_bind.py --status

Network devices using DPDK-compatible driver
============================================
0000:00:05.0 'Virtio network device' drv=uio_pci_generic unused=vfio-pci

Network devices using kernel driver
===================================
0000:00:01.0 'Virtio network device' if= drv=virtio-pci 
unused=vfio-pci,uio_pci_generic
0000:00:06.0 'Virtio network device' if= drv=virtio-pci 
unused=vfio-pci,uio_pci_generic

Other network devices
=====================
<none>

I am not sure why I see the "EAL: No probed ethernet devices" after following 
these steps. Any insights or pointers to this would really help

Thanks a lot!

Regards,
Vaibhav


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

Reply via email to