From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: Must kni be associated with a dpdk port? Date: Thu, 31 Mar 2016 10:55:33 +0100 Message-ID: <56FCF415.6090301@intel.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To: ALeX Wang , dev@dpdk.org Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2992D69FA for ; Thu, 31 Mar 2016 11:55:36 +0200 (CEST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 3/30/2016 6:20 PM, ALeX Wang wrote: > Hi, >=20 > I want to use 'rte_kni_alloc()' to create a kernel iface and > use it to test application rx. From the api and example in > 'examples/kni/main.c', i saw the 'conf' argument is assigned > with pci info of a dpdk port. >=20 > Want to ask if this is compulsory... Must kni always be > used together with a dpdk port? >=20 > Thanks, >=20 Hi Alex, You don't have to associate kni with dpdk port. pci info is required for ethtool support, if you are only interested in data transfer, you don't have to provide pci information. Regards, ferruh