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 E8AB6A04DD; Thu, 2 Jan 2020 04:23:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DCFC61BF9F; Thu, 2 Jan 2020 04:23:48 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id A2F761BF83 for ; Thu, 2 Jan 2020 04:23:47 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jan 2020 19:23:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,385,1571727600"; d="scan'208";a="419617378" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga005.fm.intel.com with ESMTP; 01 Jan 2020 19:23:46 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 1 Jan 2020 19:23:46 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 1 Jan 2020 19:23:46 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 1 Jan 2020 19:23:46 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.197]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.245]) with mapi id 14.03.0439.000; Thu, 2 Jan 2020 11:23:45 +0800 From: "Chen, Zhaoyan" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Chen, Zhaoyan" Thread-Topic: [dts][PATCH V1 3/4] framework/config: read config value of snapshot_load_side Thread-Index: AQHVvId/J8ZjQVblhUuPOWtWPSx4JafWvv6w Date: Thu, 2 Jan 2020 03:23:44 +0000 Message-ID: <9DEEADBC57E43F4DA73B571777FECECA41E76C5C@SHSMSX104.ccr.corp.intel.com> References: <1577404987-1369-1-git-send-email-lihongx.ma@intel.com> <1577404987-1369-3-git-send-email-lihongx.ma@intel.com> In-Reply-To: <1577404987-1369-3-git-send-email-lihongx.ma@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 3/4] framework/config: read config value of snapshot_load_side 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: Zhaoyan Chen Regards, Zhaoyan Chen > -----Original Message----- > From: Ma, LihongX > Sent: Friday, December 27, 2019 8:03 AM > To: dts@dpdk.org > Cc: Chen, Zhaoyan ; Ma, LihongX > Subject: [dts][PATCH V1 3/4] framework/config: read config value of > snapshot_load_side >=20 > Signed-off-by: lihong > --- > framework/config.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/framework/config.py b/framework/config.py index 7a8ca48..4b6= c2ba > 100644 > --- a/framework/config.py > +++ b/framework/config.py > @@ -266,7 +266,8 @@ class CrbsConf(UserConf): > 'pass': '', 'tester IP': '', 'tester pass': '', > IXIA: None, 'memory channels': 4, > PKTGEN: None, > - 'bypass core0': True, 'dut_cores': ''} > + 'bypass core0': True, 'dut_cores': '', > + 'snapshot_load_side': 'tester'} >=20 > def __init__(self, crbs_conf=3DCRBCONF): > self.config_file =3D crbs_conf > @@ -324,6 +325,8 @@ class CrbsConf(UserConf): > crb['dut arch'] =3D value > elif key =3D=3D 'dut_cores': > crb['dut_cores'] =3D value > + elif key =3D=3D 'snapshot_load_side': > + crb['snapshot_load_side'] =3D value.lower() >=20 > self.crbs_cfg.append(crb) > return self.crbs_cfg > -- > 2.7.4