All of lore.kernel.org
 help / color / mirror / Atom feed
* veth interfaces
@ 2014-05-27 11:50 Ivano Cerrato
       [not found] ` <53847C06.3060803-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ivano Cerrato @ 2014-05-27 11:50 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

Hello,
is it possible to use DPDK to send packets on a veth interface?

Thanks in advance,

     Ivano

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

* Re: veth interfaces
       [not found] ` <53847C06.3060803-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2014-05-30  7:02   ` Ivano Cerrato
       [not found]     ` <53882D05.9040407-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ivano Cerrato @ 2014-05-30  7:02 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

Hello,
I apologize for the imprecise email I sent, and now I try to be more 
specific about what I would like to do.

I have a module that receives traffic from the network using DPDK and, 
based on the packet content, should provide packets to the proper Docker 
container.
Docker containers receive packets through a veth interface.

Can I use DPDK features, in particular the KNI, to send packets on a 
veth interface?
If the KNI is not appropriate, is there something else that I could use?

Regards,

   Ivano

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

* Re: veth interfaces
       [not found]     ` <53882D05.9040407-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2014-05-30 12:49       ` Zhu, Heqing
       [not found]         ` <CAD16F236028A64DBBC0158B1636EA4510EB0973-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Zhu, Heqing @ 2014-05-30 12:49 UTC (permalink / raw)
  To: Ivano Cerrato, dev-VfR2kkLFssw@public.gmane.org

Hi Ivano,

I think you can use the KNI, there is example/kni and doc. Please visit if you have not done it. Please keep us updated on your journey with Docker containers.  :-)

-----Original Message-----
From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Ivano Cerrato
Sent: Friday, May 30, 2014 3:02 PM
To: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [dpdk-dev] veth interfaces

Hello,
I apologize for the imprecise email I sent, and now I try to be more specific about what I would like to do.

I have a module that receives traffic from the network using DPDK and, based on the packet content, should provide packets to the proper Docker container.
Docker containers receive packets through a veth interface.

Can I use DPDK features, in particular the KNI, to send packets on a veth interface?
If the KNI is not appropriate, is there something else that I could use?

Regards,

   Ivano

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

* Re: veth interfaces
       [not found]         ` <CAD16F236028A64DBBC0158B1636EA4510EB0973-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2014-06-03 12:51           ` Ivano Cerrato
  0 siblings, 0 replies; 4+ messages in thread
From: Ivano Cerrato @ 2014-06-03 12:51 UTC (permalink / raw)
  To: Zhu, Heqing, dev-VfR2kkLFssw@public.gmane.org

Hello,
thanks for the answer.

Using the KNI API, I create a new interface, and then I "push it into 
the container".
At this point, from the container, I send traffic and it is received in 
the KNI example program.

Instead, in my understanding, it is not possible to attach KNI to an 
already existing interface. Am I right?

Thank you,

     Ivano

Il 30/05/2014 14:49, Zhu, Heqing ha scritto:
> Hi Ivano,
>
> I think you can use the KNI, there is example/kni and doc. Please visit if you have not done it. Please keep us updated on your journey with Docker containers.  :-)
>
> -----Original Message-----
> From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Ivano Cerrato
> Sent: Friday, May 30, 2014 3:02 PM
> To: dev-VfR2kkLFssw@public.gmane.org
> Subject: Re: [dpdk-dev] veth interfaces
>
> Hello,
> I apologize for the imprecise email I sent, and now I try to be more specific about what I would like to do.
>
> I have a module that receives traffic from the network using DPDK and, based on the packet content, should provide packets to the proper Docker container.
> Docker containers receive packets through a veth interface.
>
> Can I use DPDK features, in particular the KNI, to send packets on a veth interface?
> If the KNI is not appropriate, is there something else that I could use?
>
> Regards,
>
>     Ivano

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

end of thread, other threads:[~2014-06-03 12:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-27 11:50 veth interfaces Ivano Cerrato
     [not found] ` <53847C06.3060803-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-05-30  7:02   ` Ivano Cerrato
     [not found]     ` <53882D05.9040407-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-05-30 12:49       ` Zhu, Heqing
     [not found]         ` <CAD16F236028A64DBBC0158B1636EA4510EB0973-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-06-03 12:51           ` Ivano Cerrato

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.