From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 8618F2A6C for ; Fri, 6 Jan 2017 04:29:46 +0100 (CET) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP; 05 Jan 2017 19:29:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,323,1477983600"; d="scan'208";a="50099621" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by fmsmga005.fm.intel.com with ESMTP; 05 Jan 2017 19:29:45 -0800 Message-ID: <586F0E3C.3020505@intel.com> Date: Fri, 06 Jan 2017 11:25:48 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "xu,huilong" , dts@dpdk.org References: <1483667121-30158-1-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1483667121-30158-1-git-send-email-huilongx.xu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH V1] update i40e and fm10k compile switch name X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2017 03:29:46 -0000 Thanks, applied with commit subject modified. On 01/06/2017 09:45 AM, xu,huilong wrote: > Signed-off-by: xu,huilong > --- > framework/project_dpdk.py | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py > index 274e9a6..e2e4b5e 100644 > --- a/framework/project_dpdk.py > +++ b/framework/project_dpdk.py > @@ -140,22 +140,22 @@ class DPDKdut(Dut): > > mode = load_global_setting(DPDK_RXMODE_SETTING) > if mode == 'scalar': > - self.send_expect("sed -i -e 's/CONFIG_RTE_I40E_INC_VECTOR=.*$/" > - + "CONFIG_RTE_I40E_INC_VECTOR=n/' config/common_base", "# ", 30) > + self.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=.*$/" > + + "CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=n/' config/common_base", "# ", 30) > self.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=.*$/" > + "CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=y/' config/common_base", "# ", 30) > if mode == 'full': > - self.send_expect("sed -i -e 's/CONFIG_RTE_I40E_INC_VECTOR=.*$/" > - + "CONFIG_RTE_I40E_INC_VECTOR=n/' config/common_base", "# ", 30) > + self.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=.*$/" > + + "CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=n/' config/common_base", "# ", 30) > self.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=.*$/" > + "CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=n/' config/common_base", "# ", 30) > if mode == 'novector': > self.send_expect("sed -i -e 's/CONFIG_RTE_IXGBE_INC_VECTOR=.*$/" > + "CONFIG_RTE_IXGBE_INC_VECTOR=n/' config/common_base", "# ", 30) > - self.send_expect("sed -i -e 's/CONFIG_RTE_I40E_INC_VECTOR=.*$/" > - + "CONFIG_RTE_I40E_INC_VECTOR=n/' config/common_base", "# ", 30) > - self.send_expect("sed -i -e 's/CONFIG_RTE_FM10K_INC_VECTOR=.*$/" > - + "CONFIG_RTE_FM10K_INC_VECTOR=n/' config/common_base", "# ", 30) > + self.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=.*$/" > + + "CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=n/' config/common_base", "# ", 30) > + self.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=.*$/" > + + "CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=n/' config/common_base", "# ", 30) > > def set_package(self, pkg_name="", patch_list=[]): > self.package = pkg_name