From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by dpdk.org (Postfix) with ESMTP id 3E07EAFD6 for ; Wed, 18 Jun 2014 10:52:42 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 18 Jun 2014 01:52:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,499,1400050800"; d="scan'208";a="446927231" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by azsmga001.ch.intel.com with ESMTP; 18 Jun 2014 01:52:54 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.105]) by IRSMSX104.ger.corp.intel.com ([169.254.5.136]) with mapi id 14.03.0123.003; Wed, 18 Jun 2014 09:52:53 +0100 From: "Gray, Mark D" To: GongJinrong , 'Thomas Monjalon' Thread-Topic: [dpdk-dev] Can anyone help me to run the l2fwd-ivshmem example? Thread-Index: Ac+Kye/CHEK4Dei4SzKHGFN6x2Iou///93QAgAAGagD//+3rYA== Date: Wed, 18 Jun 2014 08:52:52 +0000 Message-ID: <738D45BC1F695740A983F43CFE1B7EA91B215B37@IRSMSX102.ger.corp.intel.com> References: <2735673.npSoVJ3cPH@xps13> In-Reply-To: Accept-Language: en-IE, 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="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Can anyone help me to run the l2fwd-ivshmem example? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2014 08:52:42 -0000 > = > Hi, > = > 2014-06-18 15:56, GongJinrong: > > I want find a zero copy framework from host to vm without any > > physical NIC device, > = > I think memnic is what you want: > http://dpdk.org/doc/memnic-pmd > = > > it seems l2fwd-ivshmem can be used, but I have problems to run this > > example: > > 1. there is no document about this example, even a simple readme :-( > > 2. does this example need ovdk? > = > No > = > > 3. can I use standard qemu to run this example? Does the standard > > qemu support ivshmem? > = > You should be able to use standard Qemu. Standard QEMU will work for Memnic but not when using DPDK ivshmem. It uses the standard QEMU ivshem and doesn't use DPDK in the way you would like it = to You should look at the DPDK vSwitch code to see how DPDK ivshmem is used. = Basically, in the host you need to identify what objects that you want to s= hare with the = virtual machine e.g. rings, memzones >>From this, you can generate a command line to pass to QEMU (with a modified= ivshmem.c file - we haven't tried to upstream this yet) Then when you start a DPDK application in the guest, each of the objects th= at you shared from the host are also available in the guest. I presume the l2fwd-ivshmem does the same > = > -- > Thomas -------------------------------------------------------------- Intel Shannon Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 Business address: Dromore House, East Park, Shannon, Co. Clare This e-mail and any attachments may contain confidential material for the s= ole use of the intended recipient(s). Any review or distribution by others = is strictly prohibited. If you are not the intended recipient, please conta= ct the sender and delete all copies.