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 ED0F7A0613 for ; Thu, 26 Sep 2019 10:36:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8C8B41BEE0; Thu, 26 Sep 2019 10:36:11 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id B94EA1BEEC; Thu, 26 Sep 2019 10:36:09 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 01:36:08 -0700 X-IronPort-AV: E=Sophos;i="5.64,551,1559545200"; d="scan'208";a="201547808" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.31.171]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 01:36:06 -0700 Date: Thu, 26 Sep 2019 09:36:03 +0100 From: Bruce Richardson To: Deepak Gowda Cc: dev@dpdk.org, users@dpdk.org Message-ID: <20190926083602.GC1821@bricha3-MOBL.ger.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Subject: Re: [dpdk-users] [dpdk-dev] SR-IOV with vfio-pci 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: , Errors-To: users-bounces@dpdk.org Sender: "users" On Thu, Sep 26, 2019 at 11:57:04AM +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. > > Is this a vfio specific problem? Does the app work with those ports if they are bound to igb_uio, for instance? /Bruce