From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivano Cerrato <8002onavi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Subject: Re: veth interfaces Date: Tue, 03 Jun 2014 14:51:24 +0200 Message-ID: <538DC4CC.3050902@gmail.com> References: <53847C06.3060803@gmail.com> <53882D05.9040407@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: "Zhu, Heqing" , "dev-VfR2kkLFssw@public.gmane.org" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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