DPDK patches and discussions
 help / color / mirror / Atom feed
From: Vaibhav Sood <vaibhav_sood@persistent.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] EAL: No probed ethernet devices
Date: Fri, 12 Aug 2016 10:23:21 +0000	[thread overview]
Message-ID: <PN1PR01MB0415F54D8CE73FB7743E84C69B1F0@PN1PR01MB0415.INDPRD01.PROD.OUTLOOK.COM> (raw)

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@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@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	other threads:[~2016-08-12 10:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=PN1PR01MB0415F54D8CE73FB7743E84C69B1F0@PN1PR01MB0415.INDPRD01.PROD.OUTLOOK.COM \
    --to=vaibhav_sood@persistent.com \
    --cc=dev@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).