[dpdk-users] Using PF bound to IGB_UIO, together with sr-iov VFs passed to guests

Rosen, Rami rami.rosen at intel.com
Wed Jul 12 13:43:52 CEST 2017


Hi Ran,

>echo 63 > /sys/bus/pci/devices/0000\:05\:00.0/max_vfs
>I'm getting 63 pfs in lspci,

You mean VFs and not pfs, I assume.

I tried something similar but with qemu cli, not virsh, using PCU passtrhough
(-device pci-assign…) and i40e, but using igb_uio. I tried it with one VF and it worked OK.

Do you see any errors in the kernel log (dmesg)?


Regards,
Rami Rosen

From: ran lifshitz [mailto:ranlfg at gmail.com]
Sent: Wednesday, July 12, 2017 14:34
To: Rosen, Rami <rami.rosen at intel.com>
Cc: users at dpdk.org
Subject: Re: [dpdk-users] Using PF bound to IGB_UIO, together with sr-iov VFs passed to guests

Hi Rami,

I'm creating the vfs, while the pf is bound to igb_uio:
echo 63 > /sys/bus/pci/devices/0000\:05\:00.0/max_vfs

I'm getting 63 pfs in lspci, but when i try to load the vm:

virsh create mini1.xml
error: Failed to create domain from mini1.xml
error: An error occurred, but the cause is unknown


in the dpdk manual, it's refering to qemu, so I probably assume that the libvirt try to initialize the VF mac and vlan, but this is not supported by the igb_uio ?
it works well when ixgbe.ko is bound.

On Wed, Jul 12, 2017 at 1:11 PM, Rosen, Rami <rami.rosen at intel.com<mailto:rami.rosen at intel.com>> wrote:
Hi, Ran,

What is the internal error you get when bringing up the
guest ?

Regards,
Rami Rosen

-----Original Message-----
From: users [mailto:users-bounces at dpdk.org<mailto:users-bounces at dpdk.org>] On Behalf Of ran lifshitz
Sent: Tuesday, July 11, 2017 12:24
To: users at dpdk.org<mailto:users at dpdk.org>
Subject: [dpdk-users] Using PF bound to IGB_UIO, together with sr-iov VFs passed to guests

Hi,

I'm having trouble trying to build a scenario were the host has the PF bound to igb_uio, and working with dpdk application, together with sr-iov VFs passthrough to guest machines.

Libvirt is not able to bring up the guest, and exit with internal error.
I assume that the vlan/mac initialization which is working well, when the PF is assigned to ixgbe.k does not work when bound to igb_uio.

Is this an igb_uio issue or libvirt ?
is there a workaround for this ?

Regards
Ran



--


[Google+]<https://plus.google.com/111964218283461713253/posts/p/pub>[LinkedIn]<http://lnkd.in/eGpd2n>[Skype]website<http://www.ran-lifshitz.com/> |  vCard<http://www.dynasend.com/signatures/vcard/ranlfg-at-gmail.com.vcf> |  email

[Ran Lifshitz, , () -]<http://www.ran-lifshitz.com/>


mobile 972-54-4308444








More information about the users mailing list