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

Pragash Vijayaragavan pxv3620 at rit.edu
Tue Dec 12 14:33:53 CET 2017


This did not work as well.

Below is the error and config outputs


pragash at revvit:~/dpdk-stable-17.05.2/examples/l3fwd/build$ sudo  ./l3fwd -c
0xE --no-huge -- -p 0x03 -L --config="(0,0,1),(1,0,2)" --parse-ptype
EAL: Detected 20 lcore(s)
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: Started without hugepages support, physical addresses not available
EAL: PCI device 0000:02:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: PCI device 0000:02:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: PCI device 0000:04:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: Requested device 0000:04:00.0 cannot be used
EAL: PCI device 0000:04:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: Requested device 0000:04:00.1 cannot be used
EAL: PCI device 0000:08:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:08:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb
L3FWD: Longest-prefix match selected
soft parse-ptype is enabled
ports   ---- 0
port 0 is not present on the board
EAL: Error - exiting with code: 1
  Cause: check_port_config failed



Network devices using DPDK-compatible driver
============================================
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:02:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' if=eth13
drv=i40e unused=igb_uio,vfio-pci
0000:02:00.1 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' if=eth12
drv=i40e unused=igb_uio,vfio-pci
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>




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 7:47 AM, Hristo.Trifonov <Hristo.Trifonov at ul.ie>
wrote:

> Please use only 2 ports with 1RX queue and 1 TX queue each to get l3fwd
> running. Try with these 2 below.
> 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
>
> You can use more ports/queues but then you'll have to change the -config
> option depending on how many cores do you want to use.
>
> The cmd that I've provided in my previous post is specifically for 2 ports
> with 1RX and TX queue each and 2 cores.
>
> I suggest that you restart your machine, if possible, to unbind all ports
> from igb_uio and start from scratch.
> Otherwise use the dpdk-seup.py script to do the clean-up.
>
> Hristo T.
>
>


More information about the users mailing list