From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id AC56C959 for ; Sat, 19 Jul 2014 02:13:49 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 18 Jul 2014 17:14:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,688,1400050800"; d="scan'208";a="572096101" Received: from unknown (HELO localhost.localdomain) ([134.134.172.151]) by fmsmga002.fm.intel.com with ESMTP; 18 Jul 2014 17:14:42 -0700 Date: Fri, 18 Jul 2014 17:13:48 -0700 From: Bruce Richardson To: Harish Patil Message-ID: <20140719001347.GA44840@localhost.localdomain> References: <036FA1BC4A80D448AB7D9C3AAFBBCAF59F801916@AVMB1.qlogic.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <036FA1BC4A80D448AB7D9C3AAFBBCAF59F801916@AVMB1.qlogic.org> Organization: Intel Shannon Limited. Registered in Ireland. Registered Office: Collinstown Industrial Park, Leixlip, County Kildare. Registered Number: 308263. Business address: Dromore House, East Park, Shannon, Co. Clare. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] KNI interface 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: Sat, 19 Jul 2014 00:13:50 -0000 On Sat, Jul 19, 2014 at 12:08:35AM +0000, Harish Patil wrote: > Hello dpdk-dev, > Went thru’ couple of documentation but not very clear to me. Does using > KNI means handing over all the packets received/transmitted by the poll > mode driver to the linux stack or can it be controlled for the control > packets only ? What is the KNI use-case (besides ethtool) and what are the > best options/choices/strategy to use poll mode driver for data path and > linux for control plane operations ? > Hi Harish, the packets to be sent to the kernel through the KNI interface is entirely under application control, so it can be limited to control path packets only. Indeed this is the primary expected use case for this module, as the KNI cannot deal with the kind of data rates that the PMDs can work with. Regards, /Bruce