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