From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <8002onavi@gmail.com> Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id 57787B108 for ; Tue, 3 Jun 2014 14:51:14 +0200 (CEST) Received: by mail-wi0-f179.google.com with SMTP id bs8so6564662wib.6 for ; Tue, 03 Jun 2014 05:51:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=b+p81zqrvl+UfpnsMxA4WEiK46SnCt3dqlNaUsAYjQg=; b=JksKLp+5aiD/Ycv9tw3xang2f8Ly89QloFuPD1etzS7vjEWZPuYk53PwFBNuFzexGT Z1MQyrq8iarR+MX/8IsrNSPijKxnp1n0LQgb0Ntii+EPEQ8Y2IoklMwxkXkDZYp+HDH4 jDpkf0mFyUqjyP9i7QjLNvTbDnUTM2Anoock6ZD94gtfnC7q9tGZxBL3zxocPBVQaVVb QpJOg38eqEgvR+etJWE0kiW9JNQiEO0JFVSHSYro8y12A3yfgRi5EErH3kxwxj9z/GL9 RXUye6+aeeDywJWStUNwb+PChyyCaEKmG+tGbHVwP1JDip7KEuBLaOtsHsOD3a7tX9DJ rVTA== X-Received: by 10.194.63.196 with SMTP id i4mr61061565wjs.50.1401799886968; Tue, 03 Jun 2014 05:51:26 -0700 (PDT) Received: from localhost.localdomain ([185.27.182.30]) by mx.google.com with ESMTPSA id em5sm2680398wic.23.2014.06.03.05.51.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Jun 2014 05:51:25 -0700 (PDT) Message-ID: <538DC4CC.3050902@gmail.com> Date: Tue, 03 Jun 2014 14:51:24 +0200 From: Ivano Cerrato <8002onavi@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "Zhu, Heqing" , "dev@dpdk.org" References: <53847C06.3060803@gmail.com> <53882D05.9040407@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] veth interfaces X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2014 12:51:14 -0000 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@dpdk.org] On Behalf Of Ivano Cerrato > Sent: Friday, May 30, 2014 3:02 PM > To: dev@dpdk.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