DPDK usage discussions
 help / color / mirror / Atom feed
From: Mihai Dogaru <dogarumihai2537@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Efficient communication between dpdk process and NON dpdk process
Date: Sat, 20 Mar 2021 11:49:52 +0200
Message-ID: <CAGGu8dXTRgciD7acisyWAsJYD+x6d0YHRwCabwZx_6h4=0FdBw@mail.gmail.com> (raw)

Hello everyone!

I am a 4th year computer science student and I'm working on a
project which involves a dpdk process communicating with another
user space non dpdk process.
Non dpdk means it does not use any of the dpdk libraries.
My issue is as it follows:
I do not know what is the most efficient / fastest way
to send data from the dpdk proc to the non dpdk proc
(or the other way around).

In the sample apps, the assumption is made that both
apps are using the dpdk libraries. Which in my case is not true.

I have found on this mailing list a similar question from a couple
of years ago: link
<https://dev.dpdk.narkive.com/m3eYUGCn/dpdk-dev-ipc-message-passing-between-dpdk-application-and-non-dpdk-userspace-application>
Sadly, it is from a long time ago and I could not find the "load_balancer"
app that the author is talking about.

I have also posted a question on stackoverflow.

Are there any "by the book" ways of doing this communication?
I am afraid my synchronization method and whole copy paste
on the shared memory will slow things terribly.

I apologize if I wrongfully used this mailing list and thank you for
reading!

                 reply	other threads:[~2021-03-20  9:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAGGu8dXTRgciD7acisyWAsJYD+x6d0YHRwCabwZx_6h4=0FdBw@mail.gmail.com' \
    --to=dogarumihai2537@gmail.com \
    --cc=users@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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git