From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 649AFA2F6B for ; Tue, 8 Oct 2019 04:22:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5CD3A1BFEE; Tue, 8 Oct 2019 04:22:55 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 8B6051BFEE for ; Tue, 8 Oct 2019 04:22:53 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Oct 2019 19:22:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,269,1566889200"; d="scan'208";a="192455981" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga008.fm.intel.com with ESMTP; 07 Oct 2019 19:22:52 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 7 Oct 2019 19:22:52 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 7 Oct 2019 19:22:52 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.166]) by SHSMSX154.ccr.corp.intel.com ([10.239.6.54]) with mapi id 14.03.0439.000; Tue, 8 Oct 2019 10:22:50 +0800 From: "Chen, Zhaoyan" To: "Mei, JianweiX" , "dts@dpdk.org" CC: "Ma, LihongX" , "Chen, Zhaoyan" Thread-Topic: [dts][PATCH V1 2/6] framework/config.py: deal with dut_cores parameter Thread-Index: AQHVdRBjEl3yaKQ0aE2RszP8tDTPTadQFGpw Date: Tue, 8 Oct 2019 02:22:49 +0000 Message-ID: <9DEEADBC57E43F4DA73B571777FECECA41DD73DF@SHSMSX104.ccr.corp.intel.com> References: <1569605698-316544-1-git-send-email-jianweix.mei@intel.com> <1569605698-316544-2-git-send-email-jianweix.mei@intel.com> In-Reply-To: <1569605698-316544-2-git-send-email-jianweix.mei@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action 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] [PATCH V1 2/6] framework/config.py: deal with dut_cores parameter 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Acked-by: Chen, Zhaoyan Regards, Zhaoyan Chen > -----Original Message----- > From: Mei, JianweiX > Sent: Saturday, September 28, 2019 1:35 AM > To: dts@dpdk.org > Cc: Chen, Zhaoyan ; Ma, LihongX ; > Mei, JianweiX > Subject: [dts][PATCH V1 2/6] framework/config.py: deal with dut_cores par= ameter >=20 > From: meijx >=20 > deal with new parameter in config.py >=20 > Signed-off-by: meijx > --- > framework/config.py | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/framework/config.py b/framework/config.py index abb1469..7a8= ca48 > 100644 > --- a/framework/config.py > +++ b/framework/config.py > @@ -266,7 +266,7 @@ class CrbsConf(UserConf): > 'pass': '', 'tester IP': '', 'tester pass': '', > IXIA: None, 'memory channels': 4, > PKTGEN: None, > - 'bypass core0': True} > + 'bypass core0': True, 'dut_cores': ''} >=20 > def __init__(self, crbs_conf=3DCRBCONF): > self.config_file =3D crbs_conf > @@ -322,6 +322,8 @@ class CrbsConf(UserConf): > crb['board'] =3D value > elif key =3D=3D 'dut_arch': > crb['dut arch'] =3D value > + elif key =3D=3D 'dut_cores': > + crb['dut_cores'] =3D value >=20 > self.crbs_cfg.append(crb) > return self.crbs_cfg > -- > 1.8.3.1