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 8F5E9A0613 for ; Thu, 26 Sep 2019 17:41:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 271672C58; Thu, 26 Sep 2019 17:41:19 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 1A2F32C27 for ; Thu, 26 Sep 2019 17:41:18 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id o10so1775648pgs.6 for ; Thu, 26 Sep 2019 08:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8rQtMEUXW2SrTVlCYE8Izo4PveCm2oxMmPgZK0ajM7M=; b=UOVfBPwrYUhN38QygWs9+J0tGl//jc7Hgb6cYo5H+ty4v99WrtGdtb8vPj4HImlubz FMx7hfdUVInFebMmbvIgJLR4CMFiGgCsIAqGzYUjZRSGo+5ECdsPGfCsu3RwZ2U6FvpJ sK+pAlN/MOI9VLGSkM6cOMnOhq4CUcEkFkGINXxFe2cWxz4tjodHMhLuddT9FNhidNJw 0jFSplP9obKnk4EXYEBv/SlkNLgSDzFh9F0S/X0M22n2qU5894NMTn7qJCOjjP+kxMww hvxqzlQKtFLafChdHt1Hb1drd2sgFVMcR6lJixnHupSWLuBBGSNQWrcgByJYPMgs57WW yKMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8rQtMEUXW2SrTVlCYE8Izo4PveCm2oxMmPgZK0ajM7M=; b=b77Vn9Vsn+Z4CCRoLo+5x4fo3b53XozPaLcEEAvIRgnuJHaLUuw3NKs3vayvj67d+8 99tNME21efz6u6sVjZj6QB3jL1yAn2zz1+/bdJiB1TNDixxH55lorRkjKuaeO0ITF013 IwUFho7PD4FgQM/uP0BrcmWuVofk6dQnCf1NJ4o2MCjCR3ghceEcUjndMjAhL9DJVlzC bu/D7sXECbQ9a6OiR551ENl3cFQuvG9lGFMKmvT6qG8J7J86vopWW9K4tCF+ckFYW1NW mBKEXxHNhHmSrrcSfoXTJ3Fv+VDHDb3cBYiZkELj+1Vjl/3U4B655kUfHnxkXYvfMVKP 8Hpw== X-Gm-Message-State: APjAAAUe3OrzcC/arD1FuGgNbEBsCHin8DQSGc8pX9n5UmatZ+eUem9K KytcTvilJV8n0zRcQoyWpx/8kw== X-Google-Smtp-Source: APXvYqxLOcx5QOJlMyGqg5gWfCClWYE8x2ZOu0fdjky60xRAouHanwvMSRN/+uaz0FRwL6zM7ND0pg== X-Received: by 2002:a17:90a:210b:: with SMTP id a11mr4135121pje.23.1569512476998; Thu, 26 Sep 2019 08:41:16 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id d1sm3746983pfc.98.2019.09.26.08.41.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 08:41:16 -0700 (PDT) Date: Thu, 26 Sep 2019 08:41:15 -0700 From: Stephen Hemminger To: Deepak Gowda Cc: dev@dpdk.org Message-ID: <20190926084115.7d15216f@hermes.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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" 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.