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 91E35A2EFC for ; Wed, 18 Sep 2019 08:36:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 67AC81BF94; Wed, 18 Sep 2019 08:36:47 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 56FC71BF63 for ; Wed, 18 Sep 2019 08:36:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Sep 2019 23:36:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,519,1559545200"; d="scan'208";a="187683443" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga007.fm.intel.com with ESMTP; 17 Sep 2019 23:36:44 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 17 Sep 2019 23:36:43 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 17 Sep 2019 23:36:43 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.53]) with mapi id 14.03.0439.000; Wed, 18 Sep 2019 14:36:41 +0800 From: "Tu, Lijuan" To: "Mo, YufengX" , "dts@dpdk.org" , "Chen, Zhaoyan" Thread-Topic: [dts][PATCH V1 1/1] tests/l2fwd: wait l2fwd boot up ready Thread-Index: AQHVY5mWySVhssvf3UyBqieEBol7EqcxD5YA Date: Wed, 18 Sep 2019 06:36:40 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB23BCD@SHSMSX101.ccr.corp.intel.com> References: <20190905032631.11298-1-yufengx.mo@intel.com> <20190905032631.11298-2-yufengx.mo@intel.com> In-Reply-To: <20190905032631.11298-2-yufengx.mo@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-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzBiNDRjNWQtYTYxNS00NThkLTg4NjMtYTJjZTMwMTk3ZWEwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicGVoRWFlU0E1XC9yem5lS0JoTWNOc2hTZXVuY2VDbURDeVdsRStRaVwvbWZDSk5PNTdYZnc5VGNZTXZpdElpeGZSIn0= 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 1/1] tests/l2fwd: wait l2fwd boot up ready 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" Applied, thanks > -----Original Message----- > From: Mo, YufengX > Sent: Thursday, September 5, 2019 11:27 AM > To: dts@dpdk.org; Tu, Lijuan ; Chen, Zhaoyan > > Cc: Mo, YufengX > Subject: [dts][PATCH V1 1/1] tests/l2fwd: wait l2fwd boot up ready >=20 >=20 > wait 5 second after l2fwd boot up. It is aimed to make sure trex detect l= ink > up status. >=20 > Signed-off-by: yufengmx > --- > tests/TestSuite_l2fwd.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_l2fwd.py b/tests/TestSuite_l2fwd.py index > e2c4118..ace5dff 100644 > --- a/tests/TestSuite_l2fwd.py > +++ b/tests/TestSuite_l2fwd.py > @@ -196,7 +196,10 @@ class TestL2fwd(TestCase): >=20 > # self.dut.send_expect(command_line, "memory mapped", 60) > self.dut.send_expect(command_line, "L2FWD: entering main= loop", > 60) > - > + # wait 5 second after l2fwd boot up. > + # It is aimed to make sure trex detect link up status. > + if self.tester.is_pktgen: > + time.sleep(5) > info =3D "Executing l2fwd using %s queues, frame size %d= and %s > setup.\n" % \ > (queues['queues'], frame_size, self.core_config) >=20 > -- > 2.21.0