From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by dpdk.org (Postfix) with ESMTP id 092ED2E8B for ; Wed, 12 Jul 2017 13:33:43 +0200 (CEST) Received: by mail-lf0-f54.google.com with SMTP id b207so13580693lfg.2 for ; Wed, 12 Jul 2017 04:33:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SqP++JP//VSOjaFmP0k+LABvFRFX8uvbBtfmWBcIaqU=; b=IM3jmrJAUKdo/AD0IFG83qBcaUBSu0B6jXlH4e3wRE9z4rx6mZEQRznfQweCgXYwq+ +WBVIo3zwu1gWBI97wGsnS6qMp1k2/PPPd/Q/QKgd5t2vMMPFDHKqUWivwWaa/AYT8w3 Il4+0kqu8XWEZ8udK+xAenwjrMXDqPFJ1MvsAU0+BLoFKLJfA8HZKIODdj3FQ6IZQuoN W7iIcLlAgVGCgsXEdKKbB/Zayy9KY9D2X247vpBeRROX2TcxqSpFCqKU4v5qHeOSYgMU KLtzaqFLff15PaD/SGqryyyIOLuRk/+gfi/5J/qQrX5yG/L5H7snQuwYMuOJ3uqbi/j4 wqDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SqP++JP//VSOjaFmP0k+LABvFRFX8uvbBtfmWBcIaqU=; b=RJtvv3WtCSrzmk6pS9H0ZRifdcZZK+/vn8mAy34QFLjiMeKzQffjq+GB0rN3IcnTaG 0fHnB1WqR9gGO/fd1BAWzLkLw2u4dgJ6cqjHbAR35WSNKAVinW1//K2xmSyGlcEowkPN X4cOLHsNyPZXLCOU+3nhTOXJpbMqprq5Pxkn6Il2i153H0J5u2j/RxmEiTCEI/C7TPyl 205lXvX8H7foP3VEt9aBNYrkDbuIk10cQowO7nbe7yXw5KpXFMIGwNhpLzw+6/883JKI XJXTaUSj4nMh1jC17blyQIzNtrkoggrMMFXdpB0nGMEVFn29FY+JsDFiMMuHQNRkZ6QC craQ== X-Gm-Message-State: AIVw113kxVVUHYe2rzAF8P0deFOAuIt2ry7tuG6ovNsrligCfY7+2Zgb QrbESydQ//WE8dz3ac3nCkLqdJ7jvkrc X-Received: by 10.46.7.82 with SMTP id i18mr1702558ljd.130.1499859223417; Wed, 12 Jul 2017 04:33:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.195.10 with HTTP; Wed, 12 Jul 2017 04:33:42 -0700 (PDT) In-Reply-To: <9B0331B6EBBD0E4684FBFAEDA55776F93DA45021@HASMSX110.ger.corp.intel.com> References: <9B0331B6EBBD0E4684FBFAEDA55776F93DA45021@HASMSX110.ger.corp.intel.com> From: ran lifshitz Date: Wed, 12 Jul 2017 14:33:42 +0300 Message-ID: To: "Rosen, Rami" Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Using PF bound to IGB_UIO, together with sr-iov VFs passed to guests X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 11:33:44 -0000 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 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+] [image: LinkedIn] [image: Skype]website | vCard | email [image: Ran Lifshitz, , () -] mobile 972-54-4308444