From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6F7B5A0613 for ; Fri, 27 Sep 2019 05:48:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9AE781DB9; Fri, 27 Sep 2019 05:48:25 +0200 (CEST) Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by dpdk.org (Postfix) with ESMTP id 5678B1BE0 for ; Fri, 27 Sep 2019 05:48:24 +0200 (CEST) Received: by mail-pg1-f171.google.com with SMTP id a24so2712459pgj.2 for ; Thu, 26 Sep 2019 20:48:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bmQF9jpn+98B3xXWvDWMJeLmv46AynZausjMMQ2+QJA=; b=nR2LBETJex0+R3p/tz6JWwUguxNGVgN42M2/Dwu/xzFDbZWvHvCAkkGI3cVirQTr8Z iCQ9a4BTryebh5DfYCNu5sy0UrxuW1t8A+uYkB+N557nHD+dYT8aiX0bZWpfAflvl2u4 XgXHpSGaL5whMd/gWzY7RiRqbugSKmHWo6g61Iq1R/KXcNvqCvHfmmgLFgJeiyKXZ9r9 +p135ZOUhu8IumqmeyQxe9uBmei+qj58VxivxiU5lB1LcNCMd/1kCvY6NBuj2R1oDHmL i1NeMiZkXBspXHZkGTmASFp4jJoKLyrxRXFwRk3Y5SRVeMP9hSUeg9gyANf27H7kesbf LYUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bmQF9jpn+98B3xXWvDWMJeLmv46AynZausjMMQ2+QJA=; b=o+2Kp2j+TALcykq3SrL+aImIYTDLX/9bnEq6k+mS72HVOx/eqouZxEgv8rKIM6166H wjmCTtjXXeEST48QN+CS8pawGw6yn699vjqsKEdCbIfJExuHn6FpcrJ3BUppMm8NBI+L OmnzfQ2IBngHhoeFQFgsS437xMp1ECyHPBr0zB3mvMFBQztBQxNv/PEWtbHw6Izfy2wA 4MB/lDhpcsr6vPX3KZFA+Ow93Ck3q19YDGgGrCsCgMlyQxpeNTnj4U42w9+eg7816TgT Qo5D+kNoL9UnE78ReT3neACPTFiUtb/AnFoIyTvdZnrDpIu5qRDnZ4PUyyP4jsbz3eY4 /xLQ== X-Gm-Message-State: APjAAAXwwBQwlRxknatDdfTHTivjTQMSLn+XasI2nFGoVYvtFgCzYN/X g0rzxM28XrHHqn29vuOzwCyMnj//XSGqgrblQA5ylujv X-Google-Smtp-Source: APXvYqwmEE0JUcJUH8YHk4F6FToKg0TW0Sagl98+AKCrCPYwKBGfb+s5X5QGuRZLxPsGmBZU4JVOOnBftIjyhNzqtPE= X-Received: by 2002:a17:90a:c255:: with SMTP id d21mr7464714pjx.129.1569556103302; Thu, 26 Sep 2019 20:48:23 -0700 (PDT) MIME-Version: 1.0 References: <20190926084115.7d15216f@hermes.lan> In-Reply-To: <20190926084115.7d15216f@hermes.lan> From: Deepak Gowda Date: Fri, 27 Sep 2019 09:18:30 +0530 Message-ID: To: Stephen Hemminger Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] SR-IOV with vfio-pci X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Here it is. OS : Debian 9.4 Card info: driver: ixgbe version: 4.4.0-k firmware-version: 0x80000838 expansion-rom-version: bus-info: 0000:04:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: no -DG On Thu, 26 Sep 2019 at 21:11, Stephen Hemminger wrote: > On Thu, 26 Sep 2019 11:57:04 +0530 > Deepak Gowda wrote: > > > Hi, > > > > I'm trying to run test-pmd application with virtual functions bound to > > vfio-pci. > > I'm able to bind and unbind the virtual functions from ixgbevf to > vfio-pci > > and vice-versa > > And i'm seeing the below VF Initialization failure error, i can't seem to > > figure out what's going wrong here, > > > > EAL: using IOMMU type 1 (Type 1) > > PMD: eth_ixgbevf_dev_init(): VF Initialization Failure: -15 > > EAL: Releasing pci mapped resource for 0000:04:10.0 > > EAL: Calling pci_unmap_resource for 0000:04:10.0 at 0x7f808ba00000 > > EAL: Calling pci_unmap_resource for 0000:04:10.0 at 0x7f808ba04000 > > EAL: Requested device 0000:04:10.0 cannot be used > > EAL: PCI device 0000:04:10.2 on NUMA socket 0 > > EAL: probe driver: 8086:10ed net_ixgbe_vf > > EAL: using IOMMU type 1 (Type 1) > > PMD: eth_ixgbevf_dev_init(): VF Initialization Failure: -15 > > EAL: Releasing pci mapped resource for 0000:04:10.2 > > EAL: Calling pci_unmap_resource for 0000:04:10.2 at 0x7f808ba08000 > > EAL: Calling pci_unmap_resource for 0000:04:10.2 at 0x7f808ba0c000 > > EAL: Requested device 0000:04:10.2 cannot be used > > > > Here's some more information: > > I'm using dpdk-17.11. > > Created Virtual functions on Intel 82599ES 10G cards. > > Bound these vfs to vfio-pci. > > And tried to run the test-pmd. > > What is the host OS version that owns the PF driver? > > Also check the firmware version on the card. >