From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1ACFE959 for ; Fri, 14 Feb 2014 19:18:56 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 14 Feb 2014 10:20:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.95,846,1384329600"; d="scan'208";a="481703148" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by fmsmga002.fm.intel.com with ESMTP; 14 Feb 2014 10:20:10 -0800 Received: from orsmsx157.amr.corp.intel.com (10.22.240.23) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.123.3; Fri, 14 Feb 2014 10:20:09 -0800 Received: from orsmsx103.amr.corp.intel.com ([169.254.2.166]) by ORSMSX157.amr.corp.intel.com ([169.254.9.143]) with mapi id 14.03.0123.003; Fri, 14 Feb 2014 10:20:09 -0800 From: "Jayakumar, Muthurajan" To: Ymo Lists Thread-Topic: [dpdk-dev] Is it possible to have dpdk running with no dependency on a nic ? Thread-Index: AQHPKWDqaGfSv0DRskKDs0e9iZfhSZq1hXCA//+IoqA= Date: Fri, 14 Feb 2014 18:20:08 +0000 Message-ID: <5D695A7F6F10504DBD9B9187395A21797C6E384A@ORSMSX103.amr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Is it possible to have dpdk running with no dependency on a nic ? 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: Fri, 14 Feb 2014 18:18:57 -0000 Can you please refer Chapter 15.1.2 of the programmer's manual http://www.i= ntel.com/content/dam/www/public/us/en/documents/guides/intel-dpdk-programme= rs-guide.pdf titled "Rings-based PMD". It indicates that " To run an Intel(r) DPDK application on a machine witho= ut any Ethernet devices, a pair of ring-based rte_ethdevs can be used as be= low" As Vivek indicated, the ring based PMD (libte_pmd_ring) allows a set of s/w= FIFOs (that is rte_ring) to be accessed using the PMD APIs, as though they= were physical NICs" -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ymo Lists Sent: Friday, February 14, 2014 9:20 AM Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Is it possible to have dpdk running with no depende= ncy on a nic ? Could you please point me to a sample doing this ? All the sample i have se= en are initializing the eal and that involves initializing the nics. Is the= re a sample ? Can you mock up some code ? plz plzzz :-) On Fri, Feb 14, 2014 at 3:42 AM, Vivek Soni wrote: > Yes, It is very well possible to run DPDK without dependency on the NIC. > But it all depends what you want to do. > The two DPDK applications can communicate using the ring library=20 > provided by DPDK. In case there is no NIC, DPDK provides pure software=20 > based PMDs which can be used on systems without a NIC or with=20 > unsupported NIC using standard kernel drivers. > > Hope it helps. > > Regards, > Vivek > > > On Fri, Feb 14, 2014 at 1:49 AM, Ymo Lists wrote: > > > Is this a faq ??? > > > > > > On Wed, Feb 12, 2014 at 1:21 PM, Ymo Lists wrote: > > > > > 1) I have two apps that need to communicate on the same machine .=20 > > > Is it possible to have these two apps communicating via dpdk=20 > > > without > > referencing > > > a nic ? > > > > > > 2) The apps need to run on an amazon vm. How can you run dpdk on=20 > > > an > > amazon > > > vm with only one nic if the above is not possible ? > > > > > >