DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Testpmd not recognising device/port even after binding it using the python script
@ 2016-10-11 23:19 Aniraj Kesavan
  2016-10-11 23:20 ` Aniraj Kesavan
  0 siblings, 1 reply; 2+ messages in thread
From: Aniraj Kesavan @ 2016-10-11 23:19 UTC (permalink / raw)
  To: dev

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] Testpmd not recognising device/port even after binding it using the python script
  2016-10-11 23:19 [dpdk-dev] Testpmd not recognising device/port even after binding it using the python script Aniraj Kesavan
@ 2016-10-11 23:20 ` Aniraj Kesavan
  0 siblings, 0 replies; 2+ messages in thread
From: Aniraj Kesavan @ 2016-10-11 23:20 UTC (permalink / raw)
  To: dev

I had enabled 1G hugepages and verified that they are recognised in
eal_hugepage_init

On Tue, Oct 11, 2016 at 5:19 PM, Aniraj Kesavan <anirajkesavan@gmail.com>
wrote:

>
> 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/
>



-- 
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-11 23:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-11 23:19 [dpdk-dev] Testpmd not recognising device/port even after binding it using the python script Aniraj Kesavan
2016-10-11 23:20 ` Aniraj Kesavan

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).