DPDK usage discussions
 help / color / mirror / Atom feed
From: Sandeep Rayapudi <rayapudisandeep@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Running the quick start
Date: Tue, 16 Aug 2016 17:27:07 -0400	[thread overview]
Message-ID: <CAJU=zSX-=XkPVp3u+7hRBv_xswoc85M_r0A-Zu5BFtibccLt-A@mail.gmail.com> (raw)

Hi all,

I've installed DPDK on the machine that has Intel NICs. I followed the
steps from the Quick Start (
http://dpdk.org/doc/quick-starthttp://dpdk.org/doc/quick-start)
After making the NICs DPDK-COMPATIBLE, they are listed correctly.

Network devices using DPDK-compatible driver
============================================
0000:04:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio
unused=ixgbe
0000:04:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio
unused=ixgbe
0000:05:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio
unused=ixgbe
0000:05:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio
unused=ixgbe

Network devices using kernel driver
===================================
0000:02:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eno1 drv=tg3
unused=igb_uio *Active*
0000:02:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eno2 drv=tg3
unused=igb_uio
0000:02:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eno3 drv=tg3
unused=igb_uio
0000:02:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eno4 drv=tg3
unused=igb_uio

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

For DPDK-compatible NICs, the names of these interfaces is not shown, so
I'm unable to pass name of the NIC in iface parameter.

build/app/testpmd -c7 -n3 --vdev=eth_pcap0,iface=eth0
--vdev=eth_pcap1,iface=eth1 --
                  -i --nb-cores=2 --nb-ports=2 --total-num-mbufs=2048


If I pass the original name of the NIC before it is made a DPDK compatible,
it gives the error:
./build/app/testpmd -c7 -n3 --vdev=eth_pcap0,iface=eno49
--vdev=eth_pcap1,iface=eno50 -- -i --nb-cores=2 --nb-ports=2
--total-num-mbufs=2048
EAL: Detected 28 lcore(s)
EAL: Probing VFIO support...
PMD: Initializing pmd_pcap for eth_pcap0
PMD: Couldn't open eno49: eno49: SIOCETHTOOL(ETHTOOL_GET_TS_INFO) ioctl
failed: No such device
PMD: Couldn't open interface eno49
EAL: failed to initialize eth_pcap0 device
PANIC in rte_eal_init():
Cannot init pmd devices
6: [./build/app/testpmd(_start+0x29) [0x436d49]]
5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)
[0x7f39d56da830]]
4: [./build/app/testpmd(main+0x47) [0x436047]]
3: [./build/app/testpmd(rte_eal_init+0xed2) [0x48aff2]]
2: [./build/app/testpmd(__rte_panic+0xc9) [0x4324ca]]
1: [./build/app/testpmd(rte_dump_stack+0x2b) [0x49256b]]
Aborted (core dumped)

Any inputs on how to run this?

Thanks,
Sandeep

             reply	other threads:[~2016-08-16 21:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-16 21:27 Sandeep Rayapudi [this message]
2016-08-16 22:10 ` De Lara Guarch, Pablo

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='CAJU=zSX-=XkPVp3u+7hRBv_xswoc85M_r0A-Zu5BFtibccLt-A@mail.gmail.com' \
    --to=rayapudisandeep@gmail.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).