From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 4D5AD2BE6 for ; Thu, 18 Aug 2016 09:32:26 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP; 18 Aug 2016 00:32:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,538,1464678000"; d="scan'208";a="1037661190" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga002.jf.intel.com with ESMTP; 18 Aug 2016 00:32:24 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Aug 2016 00:32:23 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 18 Aug 2016 00:32:01 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.116]) with mapi id 14.03.0248.002; Thu, 18 Aug 2016 15:31:58 +0800 From: "Liu, Yong" To: "Xu, HuilongX" , "dts@dpdk.org" CC: "Xu, HuilongX" Thread-Topic: [dts] [dts 1/2][PATCH V1] set dpdk log level to debug level Thread-Index: AQHR+QR9s+9cQXVnq0WV0j2fP7R8DKBOUh2w Date: Thu, 18 Aug 2016 07:31:58 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E22270548@SHSMSX103.ccr.corp.intel.com> References: <1471487517-18368-1-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1471487517-18368-1-git-send-email-huilongx.xu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjBhYzhlYjktMGIxOC00MThkLWEzYjYtN2FkNGYyYTAwZjFmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IndOY3ZubUhzYXlmWER2aEVFOHY4WE85QVBlTUJIUmhmT3VuM0loalpYcDA9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [dts 1/2][PATCH V1] set dpdk log level to debug level 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: Thu, 18 Aug 2016 07:32:26 -0000 Huilong, Please move the configuration file change into core_mask suite. We'd better not change any code in dpdk, DTS should validate default dpdk c= ode.=20 If some suites require special setting, it should be included in the test s= uite. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,huilong > Sent: Thursday, August 18, 2016 10:32 AM > To: dts@dpdk.org > Cc: Xu, HuilongX > Subject: [dts] [dts 1/2][PATCH V1] set dpdk log level to debug level >=20 > Signed-off-by: xu,huilong > --- > framework/project_dpdk.py | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py > index 4e44793..6ea8fb4 100644 > --- a/framework/project_dpdk.py > +++ b/framework/project_dpdk.py > @@ -133,6 +133,8 @@ class DPDKdut(Dut): > Set default RX/TX PMD function, now only take effect on ixgbe. > """ > [arch, machine, env, toolchain] =3D self.target.split('-') > + self.send_expect("sed -i -e 's/CONFIG_RTE_LOG_LEVEL=3D.*$/" > + + "CONFIG_RTE_LOG_LEVEL=3DRTE_LOG_DEBUG/' > config/common_base", "# ", 30) > if dts.rx_mode is None: > mode =3D 'default' > else: > -- > 1.9.3 >=20