From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f46.google.com (mail-qg0-f46.google.com [209.85.192.46]) by dpdk.org (Postfix) with ESMTP id 2F62B9209 for ; Tue, 26 Jan 2016 11:28:54 +0100 (CET) Received: by mail-qg0-f46.google.com with SMTP id 6so132619698qgy.1 for ; Tue, 26 Jan 2016 02:28:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=Q38XKSjpU+ik64PFdWVHfEYlD+L0sPSFrKWhaxp8F6o=; b=Pskdih4iXb1Saq0i5MmluCwYSOMs9kudr8IIiyDipJDnO66uwDmqmigqtXwVt7Ra/l ufKlsR30oFHALtbnm/V783fFhqQk6FTfVafpltqG4NobxUWtnD9a3RHezhZYXxo9wieF o0LfRy7EwC9zyLDyzGuUpUUdPNY7M3XqM3+XK598asoZrWfp+rqdgX9MNm+AHFL4V1yD tK322fzluMXY+6NKwvMDdgynbxZ6hk9pxamcsbrmauLbVPJYg1y067Qdm3bpTv/UFJoE jw470AmQb6WbwGtlCwZvFX93JvAIsDy6ewmG/VHckV+6/9evPCvualJ3vp+AWH9gP71D 9M+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=Q38XKSjpU+ik64PFdWVHfEYlD+L0sPSFrKWhaxp8F6o=; b=H7dolcvbfzcJ8aGn45+jpXkx/AWmvh6EtzN2wGuMdGiy4NxxNuG9/5Ok57KfZNuEnC 6tJIi0S2xbqGLEApl9cd8zT24QpbiOXFfDg4/641bUzBY5l+EQy8W3X6RmOUADfILXaJ ou9QL/DBYkfBYZcJRp7jnGq+h8MsaqGqOdIqMXq8gTjWy0dTRIWW0eBVcbAf3gL7ilIB p9UO4bDjqF47B/1VoHLfQyGT0AjnI2bXmw4cy5j9PuWqFR0KiQmNFWVFNvbps6ryammS upgeCfQNFz9xx8AFo6nlA4vtfObz9E0J+dU21mvOxJ93x7SO+oA/qAJbbpQCGjXV3jAc trug== X-Gm-Message-State: AG10YOQ3R5yFY2FPsZq9MQaKVLh13b8gY4TAEUHRe9qQniKrZAU6470eJFR/tWQejjGbC5lgPwCWcMDmWL51DQ== X-Received: by 10.140.42.13 with SMTP id b13mr26807356qga.67.1453804133702; Tue, 26 Jan 2016 02:28:53 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Masoud Moshref Javadi Date: Tue, 26 Jan 2016 10:28:43 +0000 Message-ID: To: arun kumar , users@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] KNI implementation help needed X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2016 10:28:54 -0000 What command did you use in setup.py to create dpdk0? This is how I use kni + dpdk. use setup.py to load kni and igb-uio module and connect interface to igb uio module run kni sample app On Tue, Jan 26, 2016 at 1:08 AM arun kumar wrote: > Hi All, > > I need to integrate the KNI interface into my DPDK application which can > redirect the packets to Kernel stack. > > But the DPDK =E2=80=9Csetup.py=E2=80=9D script already creating one DPDK = interface (dpdk0) > for the NIC port. Also the KNI interface creates one more logical interfa= ce > for the same NIC port. The creation of 2 logical interfaces for the same > NIC port creates issues in my application when I want to communicate to > external client. > > So I want to use only one interface which can be used by DPDK application > and by KNI as well. > > So, how to integrate KNI into DPDK applications? > > > > -Arun >