DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Jayakumar, Muthurajan" <muthurajan.jayakumar@intel.com>
To: Ymo Lists <ymolists@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Is it possible to have dpdk running with no dependency on a nic ?
Date: Fri, 14 Feb 2014 18:20:08 +0000	[thread overview]
Message-ID: <5D695A7F6F10504DBD9B9187395A21797C6E384A@ORSMSX103.amr.corp.intel.com> (raw)
In-Reply-To: <CACSP18QDnVVP8sRabLwk+-TKyz0ePC7H+w54hZ-R_BHcMUmahg@mail.gmail.com>

Can you please refer Chapter 15.1.2 of the programmer's manual http://www.intel.com/content/dam/www/public/us/en/documents/guides/intel-dpdk-programmers-guide.pdf titled "Rings-based PMD".
It indicates that  " To run an Intel(r) DPDK application on a machine without any Ethernet devices, a pair of ring-based rte_ethdevs can be used as below"
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 dependency on a nic ?

Could you please point me to a sample doing this ? All the sample i have seen are initializing the eal and that involves initializing the nics. Is there a sample ? Can you mock up some code ?

plz plzzz :-)


On Fri, Feb 14, 2014 at 3:42 AM, Vivek Soni <tellviveks@gmail.com> 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 
> provided by DPDK. In case there is no NIC, DPDK provides pure software 
> based PMDs which can be used on systems without a NIC or with 
> unsupported NIC using standard kernel drivers.
>
> Hope it helps.
>
> Regards,
> Vivek
>
>
> On Fri, Feb 14, 2014 at 1:49 AM, Ymo Lists <ymolists@gmail.com> wrote:
>
> > Is this a faq ???
> >
> >
> > On Wed, Feb 12, 2014 at 1:21 PM, Ymo Lists <ymolists@gmail.com> wrote:
> >
> > > 1) I have two apps that need to communicate on the same machine . 
> > > Is it possible to have these two apps communicating via dpdk 
> > > without
> > referencing
> > > a nic ?
> > >
> > > 2) The apps need to run on an amazon vm. How can you run dpdk on 
> > > an
> > amazon
> > > vm with only one nic if the above is not possible ?
> > >
> >
>

  reply	other threads:[~2014-02-14 18:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-12 18:21 Ymo Lists
2014-02-13 20:19 ` Ymo Lists
2014-02-14  8:42   ` Vivek Soni
2014-02-14 17:20     ` Ymo Lists
2014-02-14 18:20       ` Jayakumar, Muthurajan [this message]
2014-02-14 20:11         ` Ymo Lists
2014-02-16 19:02           ` Stephen Hemminger
2014-02-17 12:49             ` jigsaw
2014-02-17 16:41               ` Stephen Hemminger
2014-02-17 17:52                 ` Venkatesan, Venky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5D695A7F6F10504DBD9B9187395A21797C6E384A@ORSMSX103.amr.corp.intel.com \
    --to=muthurajan.jayakumar@intel.com \
    --cc=dev@dpdk.org \
    --cc=ymolists@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).