From: Aniraj Kesavan <anirajkesavan@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Testpmd not recognising device/port even after binding it using the python script
Date: Tue, 11 Oct 2016 17:19:49 -0600 [thread overview]
Message-ID: <CAFOf+QUGP1Ga-UhPUMHMfa8i2LN_4bGyHUU7qqTc=7DK=asXMg@mail.gmail.com> (raw)
DPDK version:16.07
OS: Ubuntu 15:04
dual-port Intel X710 10GbE PCI-Express NICs
I have installed the modules, ran the tool to bind them to the NICs,
running gdb over skeleton/basicfwd example shows that rte_eal_init
completes, but it fails at the even number of ports check since
rte_eth_dev_count returns 0. I have tried the examples with and without -w
flags.
Any help is appreciated.
python ./dpdk-devbind.py --status
Network devices using DPDK-compatible driver
============================================
0000:04:00.0 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
0000:04:00.1 'Ethernet Controller X710 for 10GbE SFP+' drv=igb_uio unused=
Network devices using kernel driver
===================================
0000:02:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe' if=eth0 drv=tg3
unused=igb_uio *Active*
0000:02:00.1 'NetXtreme BCM5720 Gigabit Ethernet PCIe' if=eth1 drv=tg3
unused=igb_uio
0000:06:00.0 'I350 Gigabit Network Connection' if=eth2 drv=igb
unused=igb_uio
0000:06:00.1 'I350 Gigabit Network Connection' if=eth4 drv=igb
unused=igb_uio
0000:06:00.2 'I350 Gigabit Network Connection' if=eth5 drv=igb
unused=igb_uio
0000:06:00.3 'I350 Gigabit Network Connection' if=eth6 drv=igb
unused=igb_uio
LD_LIBRARY_PATH=../lib ./testpmd -c 0xF -n 4 -w 0000:04:00.0 0000:04:00.1
-- -i --portmask=0x1 --nb-cores=2
EAL: Detected 32 lcore(s)
EAL: No free hugepages reported in hugepages-2048kB
EAL: Probing VFIO support...
EAL: No probed ethernet devices
Interactive-mode selected
Invalid port 0
USER1: create a new mbuf pool <mbuf_pool_socket_0>: n=171456, size=2176,
socket=0
Done
Thanks,
Aniraj
--
Aniraj Kesavan
MS CS '15-'17,
University Of Utah
CS '08-'12,
Govt. Model Engineering College
alternate e-mail:anirajkalathel@gmail.com
http://www.cs.utah.edu/~aniraj/
next reply other threads:[~2016-10-11 23:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-11 23:19 Aniraj Kesavan [this message]
2016-10-11 23:20 ` Aniraj Kesavan
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='CAFOf+QUGP1Ga-UhPUMHMfa8i2LN_4bGyHUU7qqTc=7DK=asXMg@mail.gmail.com' \
--to=anirajkesavan@gmail.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).