From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <anatoly.burakov@intel.com>
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by dpdk.org (Postfix) with ESMTP id 9F46E6886
 for <dev@dpdk.org>; Mon,  8 Sep 2014 10:25:50 +0200 (CEST)
Received: from orsmga001.jf.intel.com ([10.7.209.18])
 by orsmga102.jf.intel.com with ESMTP; 08 Sep 2014 01:24:42 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.04,485,1406617200"; d="scan'208";a="569866791"
Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155])
 by orsmga001.jf.intel.com with ESMTP; 08 Sep 2014 01:30:47 -0700
Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by
 IRSMSX102.ger.corp.intel.com (163.33.3.155) with Microsoft SMTP Server (TLS)
 id 14.3.195.1; Mon, 8 Sep 2014 09:30:16 +0100
Received: from irsmsx109.ger.corp.intel.com ([169.254.13.200]) by
 IRSMSX155.ger.corp.intel.com ([169.254.14.85]) with mapi id 14.03.0195.001;
 Mon, 8 Sep 2014 09:30:16 +0100
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
To: "Sujith Sankar (ssujith)" <ssujith@cisco.com>, Stephen Hemminger
 <stephen@networkplumber.org>
Thread-Topic: [dpdk-dev] [PATCH 00/16] [RFC] [VFIO] Add VFIO support to DPDK
Thread-Index: Ac9lLTXFrHbg7bLiSjKn4c9MFTXI0gAVOByAACMklAAZYcOAgAAV94bA//9SV4CAAK+NEA==
Date: Mon, 8 Sep 2014 08:30:16 +0000
Message-ID: <C6ECDF3AB251BE4894318F4E4512369780BEC3C7@IRSMSX109.ger.corp.intel.com>
References: <C6ECDF3AB251BE4894318F4E45123697592AA9BE@IRSMSX101.ger.corp.intel.com>
 <20140501091241.4786e99c@nehalam.linuxnetplumber.net>
 <C6ECDF3AB251BE4894318F4E45123697592AB123@IRSMSX101.ger.corp.intel.com>
 <D03363FA.220DF%ssujith@cisco.com>
 <C6ECDF3AB251BE4894318F4E4512369780BEC3AE@IRSMSX109.ger.corp.intel.com>
 <D03365BE.220EB%ssujith@cisco.com>
In-Reply-To: <D03365BE.220EB%ssujith@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [163.33.239.181]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH 00/16] [RFC] [VFIO] Add VFIO support to DPDK
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Sep 2014 08:25:51 -0000

Hi Sujith

Of course you can. Just use the igb_uio driver instead. Refer to the Gettin=
g Started Guide from Intel, it'll walk you through the steps, although they=
 are basically the same as for VFIO.

Thanks,
Anatoly

-----Original Message-----
From: Sujith Sankar (ssujith) [mailto:ssujith@cisco.com]=20
Sent: Monday, September 8, 2014 9:28 AM
To: Burakov, Anatoly; Stephen Hemminger
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH 00/16] [RFC] [VFIO] Add VFIO support to DPDK

Anatoly,
Thanks for the quick response !

I am able do PCI passthrough and use the NIC in the guest OS.
What I=B9m trying to do is run DPDK in the guest and make use of the passed=
-through NIC.  Without using VFIO, could I achieve this?

Thanks,
-Sujith

On 08/09/14 1:51 pm, "Burakov, Anatoly" <anatoly.burakov@intel.com> wrote:

>Hi Sujith
>
>Not that I know of, no. There are other ways to run physical NICs in a=20
>VM though, you don't require VFIO for that.
>
>Thanks,
>Anatoly
>
>-----Original Message-----
>From: Sujith Sankar (ssujith) [mailto:ssujith@cisco.com]
>Sent: Monday, September 8, 2014 9:20 AM
>To: Burakov, Anatoly; Stephen Hemminger
>Cc: dev@dpdk.org
>Subject: Re: [dpdk-dev] [PATCH 00/16] [RFC] [VFIO] Add VFIO support to=20
>DPDK
>
>Hi Anatoly,
>
>Has anything happened in this front?  Do you see running of DPDK in=20
>guest OS on KVM with physical NIC passed through to it happening soon?
>
>Thanks,
>-Sujith
>
>On 02/05/14 2:28 pm, "Burakov, Anatoly" <anatoly.burakov@intel.com> wrote:
>
>>Hi Stephen,
>>
>>> Will this work in guest? or only on bare metal?
>>
>>VFIO is Linux-only, and in theory will be able to work on the guest,=20
>>but not at the moment, since it requires IOMMU. There was a GSoC=20
>>proposal for KVM to do IOMMU implementation, and there were a few AMD=20
>>IOMMU-emulation patches floating around the KVM lists for some time,=20
>>but nothing has made it into release yet.
>>
>>Best regards,
>>Anatoly Burakov
>>DPDK SW Engineer
>>
>>--------------------------------------------------------------
>>Intel Shannon Limited
>>Registered in Ireland
>>Registered Office: Collinstown Industrial Park, Leixlip, County=20
>>Kildare Registered Number: 308263 Business address: Dromore House,=20
>>East Park, Shannon, Co. Clare
>>
>>
>>
>