[dpdk-users] port 0 not present on board error

Pragash Vijayaragavan pxv3620 at rit.edu
Tue Dec 12 13:21:52 CET 2017


Hi,

im still getting the same error

here is my dpdk_setup output

Is it possible that my NICs dont support running dpdk.


Network devices using DPDK-compatible driver
============================================
0000:02:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=igb_uio
unused=vfio-pci
0000:02:00.1 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=igb_uio
unused=vfio-pci
0000:04:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=igb_uio
unused=vfio-pci
0000:04:00.1 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=igb_uio
unused=vfio-pci

Network devices using kernel driver
===================================
0000:08:00.0 'I350 Gigabit Network Connection 1521' if=eth0 drv=igb
unused=igb_uio,vfio-pci *Active*
0000:08:00.1 'I350 Gigabit Network Connection 1521' if=eth2 drv=igb
unused=igb_uio,vfio-pci

Other Network devices
=====================
<none>

Crypto devices using DPDK-compatible driver
===========================================
<none>

Crypto devices using kernel driver
==================================
<none>

Other Crypto devices
====================
<none>

Eventdev devices using DPDK-compatible driver
=============================================
<none>

Eventdev devices using kernel driver
====================================
<none>

Other Eventdev devices
======================
<none>

Mempool devices using DPDK-compatible driver
============================================
<none>

Mempool devices using kernel driver
===================================
<none>

Other Mempool devices
=====================
<none>

Press enter to continue ...


Thanks,

Pragash Vijayaragavan
Grad Student at Rochester Institute of Technology
email : pxv3620 at rit.edu
ph : 585 764 4662


On Tue, Dec 12, 2017 at 5:54 AM, Hristo.Trifonov <Hristo.Trifonov at ul.ie>
wrote:

> If your nb_ports = 0  shows that you haven't bind/provided any ports to
> dpdk.
>
> Just verify that the ports that you want to use with dpdk (igb_uio) are
> available on the machine.
> This means that they are not used for anything else but dpdk.
>
> Before you attempt to bind any ports to igb_uio, from the terminal check
> what ports are available on the machine using nmcli d or any other utility.
> Load the igb_uio kernel module using the dpdk_setup  script in
> dpdk/usertools
> Then use the dpdk_dev_bind or dpdk_setup  script to bind the selected
> ports to igb_uio.
> Verify that the ports are using the igb_uio with the dpdk_setup  script.
> There is an option there for that.
>
> If you are using 2 ports (-p 0x3), use 2 lcores (-c 0xE) core 2 and core 3
> in this case.
> Complete the cmd like this:
> pragash at revvit:~/dpdk-stable-17.05.2/examples/l3fwd/build$<mailto:
> pragash at revvit:~/dpdk-stable-17.05.2/examples/l3fwd/build$> ./l3fwd -c
> 0xE --no-huge -- -p 0x03 -L --config="(0,0,1),(1,0,2)" --parse-ptype
>
> If you want to use more lcores you must then change the -config option to
> reflect the situation in terms of (port,queue,lcore)
>
> Hristo T.
>


More information about the users mailing list