From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 06 Sep 2016 07:22:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,291,1470726000"; d="scan'208";a="1046310212" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.81]) ([10.237.220.81]) by orsmga002.jf.intel.com with ESMTP; 06 Sep 2016 07:22:06 -0700 To: Vladyslav Buslov References: <20160906112513.26090-1-vladyslav.buslov@harmonicinc.com> <20160906112513.26090-2-vladyslav.buslov@harmonicinc.com> <072eecca-8108-a45b-91b7-7245dfbe760b@intel.com> Cc: dev@dpdk.org From: Ferruh Yigit Message-ID: <64efd560-66f1-0879-1f71-ee7c13d62e98@intel.com> Date: Tue, 6 Sep 2016 15:22:06 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <072eecca-8108-a45b-91b7-7245dfbe760b@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] kni: add support for core_id param in single threaded mode 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, 06 Sep 2016 14:22:09 -0000 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 ..