DPDK usage discussions
 help / color / mirror / Atom feed
From: Yasufumi Ogawa <yasufum.o@gmail.com>
To: Sara Gittlin <sara.gittlin@gmail.com>, users@dpdk.org
Subject: Re: [dpdk-users] DPDK-app to 2 containers - shared-mem
Date: Wed, 3 Jul 2019 22:25:14 +0900	[thread overview]
Message-ID: <54485eb2-ac19-b265-96dc-595a17cddf5a@gmail.com> (raw)
In-Reply-To: <CAA_4wjbzgC0i8M_C7he219WrA=w6ZoD-=HQ_9_Q7Pfx7_7p1kA@mail.gmail.com>

> Hi,
> i need to  connect 2 containers to my DPDK-app , and to send the pkts to
> both containers.
> for a zero copy i need a shared mem between the DPDK-app and the 2
> containers , and to put a ref-counter to free the mbuf when this counter is
> zero.
Hi Sara,

It is doable if your container app is implemented as secondary process. 
You can connect container apps via ring PMD by sharing hugepage between 
host and container.

I have tried to deploy my application on container environment. Some 
examples of Dockerfiles or docker commands are explained in my material 
here. I hope it will be some help.

https://www.dpdk.org/wp-content/uploads/sites/35/2018/12/YasufumiOgwa_Implementing-DPDK-based-Application-Container-Framework-with-SPP.pdf

Regards,
Yasufumi

> can someone refer me to a similar setup/example ?
> Thank you
> -Sara
> 

  reply	other threads:[~2019-07-03 13:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-02 10:33 Sara Gittlin
2019-07-03 13:25 ` Yasufumi Ogawa [this message]
2019-07-03 14:37 ` Timothy Wood
2019-07-04  8:33   ` Sara Gittlin

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=54485eb2-ac19-b265-96dc-595a17cddf5a@gmail.com \
    --to=yasufum.o@gmail.com \
    --cc=sara.gittlin@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
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).