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 at 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 at 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 at gmail.com http://www.cs.utah.edu/~aniraj/