From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id A299E1041 for ; Tue, 9 Jan 2018 07:43:56 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jan 2018 22:43:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,334,1511856000"; d="scan'208";a="19443741" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga004.fm.intel.com with ESMTP; 08 Jan 2018 22:43:55 -0800 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 8 Jan 2018 22:43:54 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 8 Jan 2018 22:43:54 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Tue, 9 Jan 2018 14:43:53 +0800 From: "Liu, Yong" To: Phil Yang , "dts@dpdk.org" CC: nd Thread-Topic: [PATCH] tests/vhost_user_live_migration: Optimize for multi-platform. Thread-Index: AQHThhAJ7o83aYFNQ0KLfYRdmqeQu6NrikyA//8GEICAAI2bMA== Date: Tue, 9 Jan 2018 06:43:52 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62F42A55@SHSMSX103.ccr.corp.intel.com> References: <1515148140-28422-1-git-send-email-phil.yang@arm.com> <5A54BF41.9010203@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjZjNDM3N2YtMWJjNi00YmJhLWFlNjktZGFlZGE5ODlkNjhjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJKMk5UREJ5TXo3RU1iUlpseVFsazRYb1dvT0ZvUGMzQXNmcVlLWFhMcUhHYzdYcDdvVEwzem1MbUdXZmZZcyt4In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 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] tests/vhost_user_live_migration: Optimize for multi-platform. 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: Tue, 09 Jan 2018 06:43:57 -0000 You're welcome, Phil. > -----Original Message----- > From: Phil Yang [mailto:Phil.Yang@arm.com] > Sent: Tuesday, January 09, 2018 2:16 PM > To: Liu, Yong ; dts@dpdk.org > Cc: nd > Subject: RE: [PATCH] tests/vhost_user_live_migration: Optimize for multi- > platform. >=20 > Hi Marvin >=20 > Thanks for your comments. Updated. >=20 > Thanks, > Phil Yang >=20 > > -----Original Message----- > > From: Liu, Yong [mailto:yong.liu@intel.com] > > Sent: Tuesday, January 9, 2018 9:10 PM > > To: Phil Yang ; dts@dpdk.org > > Cc: nd > > Subject: Re: [PATCH] tests/vhost_user_live_migration: Optimize for > multi- > > platform. > > > > Phil, > > There's one comment as below. > > > > On 01/05/2018 06:29 PM, Phil Yang wrote: > > > + > > > + dirct_pat =3D re.compile(r"(\s+)\[ (\S+) in\|out\|inout \]") > > > + vm_dut.send_expect("tcpdump -h", "# ") > > > + out =3D vm_dut.get_session_output(timeout=3D1) > > > + m =3D dirct_pat.search(out) > > > + if m: > > > + dirct_para =3D "-" + m.group(2)[1] + " in" > > > + else: > > > + dirct_para =3D "" > > > + > > > > Please change variable name to more meaning full name "direct_param". > > > > Thanks, > > Marvin