From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
To: Sandeep Rayapudi <rayapudisandeep@gmail.com>,
"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Running the quick start
Date: Tue, 16 Aug 2016 22:10:55 +0000 [thread overview]
Message-ID: <E115CCD9D858EF4F90C690B0DCB4D8973C9B1771@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <CAJU=zSX-=XkPVp3u+7hRBv_xswoc85M_r0A-Zu5BFtibccLt-A@mail.gmail.com>
Hi Sandeep,
> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Sandeep
> Rayapudi
> Sent: Tuesday, August 16, 2016 2:27 PM
> To: users@dpdk.org
> Subject: [dpdk-users] Running the quick start
>
> 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?
Once you bind those interfaces to igb_uio driver, you don't have any interface names anymore,
as they are not handled by the kernel.
If you want to use those ports, just call testpmd, with no extra parameters, and it will use the four ports.
They will be sorted with the PCI address, so port 0 will be 0000:04:00.0, port 1, 0000:04:00.1, etc.
If you only want to use two ports, let's say 0000:04:00.0 and 0000:05:00.0, you can whitelist those ports,
so the app will not use the other ones:
build/app/testpmd -c7 -n3 -w 0000:04:00.0 -w 0000:05:00.0 -- -i
Hope this helps,
Pablo
>
> Thanks,
> Sandeep
prev parent reply other threads:[~2016-08-16 22:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-16 21:27 Sandeep Rayapudi
2016-08-16 22:10 ` De Lara Guarch, Pablo [this message]
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=E115CCD9D858EF4F90C690B0DCB4D8973C9B1771@IRSMSX108.ger.corp.intel.com \
--to=pablo.de.lara.guarch@intel.com \
--cc=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).