From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] kni: add support for core_id param in single threaded mode Date: Tue, 6 Sep 2016 15:22:06 +0100 Message-ID: <64efd560-66f1-0879-1f71-ee7c13d62e98@intel.com> References: <20160906112513.26090-1-vladyslav.buslov@harmonicinc.com> <20160906112513.26090-2-vladyslav.buslov@harmonicinc.com> <072eecca-8108-a45b-91b7-7245dfbe760b@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Vladyslav Buslov Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 8D2CF68F5 for ; Tue, 6 Sep 2016 16:22:08 +0200 (CEST) In-Reply-To: <072eecca-8108-a45b-91b7-7245dfbe760b@intel.com> 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 9/6/2016 3:14 PM, Ferruh Yigit wrote: > On 9/6/2016 12:25 PM, Vladyslav Buslov wrote: >> Allow binding KNI thread to specific core in single threaded mode >> by setting core_id and force_bind config parameters. > > Thanks, patch does exactly what we talked, and as I tested it works fine. > > 1) There are a few comments, can you please find them inline. > > 2) Would you mind adding some document related this new feature? > Document path is: doc/guides/prog_guide/kernel_nic_interface.rst > >> >> Signed-off-by: Vladyslav Buslov >> --- ... */ >> - if (multiple_kthread_on && dev_info.force_bind && >> + if (dev_info.force_bind && >> !cpu_online(dev_info.core_id)) { minor thing, these two lines can join into single line ..