[dpdk-dev] rte_eth_dev_configure fails on VM with e1000 drivers

B Gopikrishna b.gopikrishna at tcs.com
Fri Apr 18 14:09:37 CEST 2014


Hi
when I run the l3fwd application with the below command line, I am observing the error "Cannot configure device: err=-22, port=0". The complete log is posted below. 

./build/l3fwd -c 0x03 -n 2 -- -p 0x03 --config="(0,0,0),(1,1,1)"

Setup:
a) Virtual machine booted with Fedora20 with 2 virtual CPU
b) compiled DPDK git version
c) configured 2 vNIC's with e1000 drivers

Any help in resolving the error would be of great help.

********************************************************************

Network devices using IGB_UIO driver
====================================
0000:00:0b.0 '82540EM Gigabit Ethernet Controller' drv=igb_uio unused=
0000:00:0c.0 '82540EM Gigabit Ethernet Controller' drv=igb_uio unused=
Network devices using kernel driver
===================================
0000:00:03.0 'Virtio network device' if= drv=virtio-pci unused=igb_ui

********************************************************************
EAL: Master core 0 is ready (tid=8ac3e880)
EAL: Core 1 is ready (tid=3f1b0700)
EAL: PCI device 0000:00:03.0 on NUMA socket -1
EAL:   probe driver: 1af4:1000 rte_virtio_pmd
EAL:   0000:00:03.0 not managed by UIO driver, skipping
EAL: PCI device 0000:00:0b.0 on NUMA socket -1
EAL:   probe driver: 8086:100e rte_em_pmd
EAL:   PCI memory mapped at 0x7fa58abe8000
EAL: PCI device 0000:00:0c.0 on NUMA socket -1
EAL:   probe driver: 8086:100e rte_em_pmd
EAL:   PCI memory mapped at 0x7fa58abc8000
Initializing port 0 ... Creating queues: nb_rxq=1 nb_txq=2... EAL: Error - exiting with code: 1
  Cause: Cannot configure device: err=-22, port=0
********************************************************************

Regards
Gopi Krishna B
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




More information about the dev mailing list