[dpdk-users] SRIOV with DPDK-PF: PMD: eth_ixgbevf_dev_init(): VF Initialization Failure

Eli Britstein eli.britstein at toganetworks.com
Thu Nov 10 15:52:13 CET 2016

Hi all,

I want to use both PF and VF bound to igb_uio.

However, when doing so, VF init fails:

EAL: PCI device 0000:04:10.1 on NUMA socket 0

EAL:   probe driver: 8086:10ed rte_ixgbevf_pmd

PMD: eth_ixgbevf_dev_init(): VF Initialization Failure: -100

EAL: Error - exiting with code: 1

  Cause: Requested device 0000:04:10.1 cannot be used

The sequence I use it this:

Initial state:

- 04:00.1 is bound to Linux driver (ixgbe)

- no VFs configured

Step 1: configure a VF

echo 1 > /sys/bus/pci/devices/0000:04:00.1/sriov_numvfs

Step 2: set VF's MAC address

ip link set dev enp4s0f1 vf 0 mac 00:bb:dd:04:00:00

Step 3: bind the VF to igb_uio

Step 4: execute L2FWD

./dpdk/examples/l2fwd/build/l2fwd -c 1 -n 1 -w 0000:04:00.1 -- -T 0 -p 1 Works as expected

Step 5: bind the PF to igb_uio

Step 6: execute L2FWD again

./dpdk/examples/l2fwd/build/l2fwd -c 1 -n 1 -w 0000:04:00.1 -- -T 0 -p 1




I tried several DPDK versions (1.7.1, 2.0.0, 2.2.0, 16.07). All fail in eth_ixgbevf_dev_init.

Usually the error code is -100, but in some cases also I saw -15.

Please advise



This email and any files transmitted and/or attachments with it are confidential and proprietary information of
Toga Networks Ltd., and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential
information of Toga Networks Ltd., and is intended only for the individual named. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not
the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on
the contents of this information is strictly prohibited.

More information about the users mailing list