DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] DPDK-app to 2 containers - shared-mem
@ 2019-07-02 10:33 Sara Gittlin
  2019-07-03 13:25 ` Yasufumi Ogawa
  2019-07-03 14:37 ` Timothy Wood
  0 siblings, 2 replies; 4+ messages in thread
From: Sara Gittlin @ 2019-07-02 10:33 UTC (permalink / raw)
  To: users

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.
can someone refer me to a similar setup/example ?
Thank you
-Sara

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] DPDK-app to 2 containers - shared-mem
  2019-07-02 10:33 [dpdk-users] DPDK-app to 2 containers - shared-mem Sara Gittlin
@ 2019-07-03 13:25 ` Yasufumi Ogawa
  2019-07-03 14:37 ` Timothy Wood
  1 sibling, 0 replies; 4+ messages in thread
From: Yasufumi Ogawa @ 2019-07-03 13:25 UTC (permalink / raw)
  To: Sara Gittlin, users

> 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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] DPDK-app to 2 containers - shared-mem
  2019-07-02 10:33 [dpdk-users] DPDK-app to 2 containers - shared-mem Sara Gittlin
  2019-07-03 13:25 ` Yasufumi Ogawa
@ 2019-07-03 14:37 ` Timothy Wood
  2019-07-04  8:33   ` Sara Gittlin
  1 sibling, 1 reply; 4+ messages in thread
From: Timothy Wood @ 2019-07-03 14:37 UTC (permalink / raw)
  To: Sara Gittlin; +Cc: users

You can check out OpenNetVM, which is a DPDK-based NFV framework that
supports running NF service chains that span multiple containers.

https://github.com/sdnfv/openNetVM/

---
Timothy Wood, Ph. D.
Associate Professor
Department of Computer Science
The George Washington University
http://www.seas.gwu.edu/~timwood


On Tue, Jul 2, 2019 at 6:34 AM Sara Gittlin <sara.gittlin@gmail.com> wrote:

> 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.
> can someone refer me to a similar setup/example ?
> Thank you
> -Sara
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] DPDK-app to 2 containers - shared-mem
  2019-07-03 14:37 ` Timothy Wood
@ 2019-07-04  8:33   ` Sara Gittlin
  0 siblings, 0 replies; 4+ messages in thread
From: Sara Gittlin @ 2019-07-04  8:33 UTC (permalink / raw)
  To: timwood; +Cc: users

Thank  you Yasufumi and Timothy
-Sara

On Wed, Jul 3, 2019 at 5:37 PM Timothy Wood <timwood@gwu.edu> wrote:

> You can check out OpenNetVM, which is a DPDK-based NFV framework that
> supports running NF service chains that span multiple containers.
>
> https://github.com/sdnfv/openNetVM/
>
> ---
> Timothy Wood, Ph. D.
> Associate Professor
> Department of Computer Science
> The George Washington University
> http://www.seas.gwu.edu/~timwood
>
>
> On Tue, Jul 2, 2019 at 6:34 AM Sara Gittlin <sara.gittlin@gmail.com>
> wrote:
>
>> 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.
>> can someone refer me to a similar setup/example ?
>> Thank you
>> -Sara
>>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-02 10:33 [dpdk-users] DPDK-app to 2 containers - shared-mem Sara Gittlin
2019-07-03 13:25 ` Yasufumi Ogawa
2019-07-03 14:37 ` Timothy Wood
2019-07-04  8:33   ` Sara Gittlin

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://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/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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