DPDK patches and discussions
 help / color / mirror / Atom feed
From: Kamraan Nasim <knasim@sidebandnetworks.com>
To: dev@dpdk.org
Subject: [dpdk-dev] IPC/message passing between DPDK application and non-DPDK userspace application
Date: Fri, 17 Oct 2014 22:14:50 -0400	[thread overview]
Message-ID: <CAPrTskgxt69gEBA_duk0t+kb9uOKohpASo6gQQhBmhEBkDLR3w@mail.gmail.com> (raw)

Greetings,

I am still a DPDK newbie so not really sure how to go about doing this...

I have a DPI daemon running in userspace which uses libpcap for packet RX
that I would like to replace with DPDK ethernet PMD. However it is not
feasible to convert the entire application to run within the DPDK framework
which is why I would like to split packet RX to use DPDK and have my
applications higher order functions continue using Linux pthread.

Is it possible to exchange data between DPDK processes and regular
userspace processes via some shared mem or IPC mechanism? I am not sure if
the SW ring buffers that DPDK provides can be used in this context?

Please let me know if others have come across this. Any help from the DPDK
community would be greatly appreciated :)

--Kam

             reply	other threads:[~2014-10-18  2:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-18  2:14 Kamraan Nasim [this message]
2014-10-18 17:38 ` Matthew Hall
2014-10-20 14:41   ` Kamraan Nasim

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=CAPrTskgxt69gEBA_duk0t+kb9uOKohpASo6gQQhBmhEBkDLR3w@mail.gmail.com \
    --to=knasim@sidebandnetworks.com \
    --cc=dev@dpdk.org \
    /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).