DPDK usage discussions
 help / color / mirror / Atom feed
From: ran lifshitz <ranlfg@gmail.com>
To: "Rosen, Rami" <rami.rosen@intel.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Using PF bound to IGB_UIO, together with sr-iov VFs passed to guests
Date: Wed, 12 Jul 2017 14:33:42 +0300	[thread overview]
Message-ID: <CAPaJkxOpn3CaiUkdep_6Mq1wgkV-js=teVfbsQsoo+XQZxvQWw@mail.gmail.com> (raw)
In-Reply-To: <9B0331B6EBBD0E4684FBFAEDA55776F93DA45021@HASMSX110.ger.corp.intel.com>

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@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@dpdk.org] On Behalf Of ran lifshitz
> Sent: Tuesday, July 11, 2017 12:24
> To: users@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
>



-- 

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

mobile 972-54-4308444

  reply	other threads:[~2017-07-12 11:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-11  9:24 ran lifshitz
2017-07-12 10:11 ` Rosen, Rami
2017-07-12 11:33   ` ran lifshitz [this message]
2017-07-12 11:43     ` Rosen, Rami
2017-07-12 13:30       ` ran lifshitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPaJkxOpn3CaiUkdep_6Mq1wgkV-js=teVfbsQsoo+XQZxvQWw@mail.gmail.com' \
    --to=ranlfg@gmail.com \
    --cc=rami.rosen@intel.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).