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 DE6F8A0518; Fri, 24 Jul 2020 04:40:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C8FC41D5FB; Fri, 24 Jul 2020 04:40:43 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 137061C211 for ; Fri, 24 Jul 2020 04:40:42 +0200 (CEST) IronPort-SDR: 6GXCdUniiJP5gowHVLCZq9c4kpF/SimeUCwVCSq7HDvV4G51qoyAw4qEX/pCeia6xyyCTmKaPR 1r4WlhsbvmGw== X-IronPort-AV: E=McAfee;i="6000,8403,9691"; a="149841242" X-IronPort-AV: E=Sophos;i="5.75,389,1589266800"; d="scan'208";a="149841242" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2020 19:40:42 -0700 IronPort-SDR: +JiPniTiwM1OEPJVtip+row5s5WpY4sGk2ocnuEs7WDusKsavyHrUTo5La5cftK6E+dk0PUW7/ vePrD2xeXOZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,389,1589266800"; d="scan'208";a="327195116" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by FMSMGA003.fm.intel.com with ESMTP; 23 Jul 2020 19:40:42 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 23 Jul 2020 19:40:41 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 23 Jul 2020 19:40:41 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.22]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.135]) with mapi id 14.03.0439.000; Fri, 24 Jul 2020 10:40:40 +0800 From: "Tu, Lijuan" To: "Ling, WeiX" , "dts@dpdk.org" CC: "Ling, WeiX" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_ipfrag: Add -w option in set_up_all method Thread-Index: AQHWXytWY40c0q4UOkOTGY1gH06TMKkWCUnQ Date: Fri, 24 Jul 2020 02:40:39 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC8410A@SHSMSX101.ccr.corp.intel.com> References: <20200721144148.42009-1-weix.ling@intel.com> In-Reply-To: <20200721144148.42009-1-weix.ling@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="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/TestSuite_ipfrag: Add -w option in set_up_all method 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: dts On Behalf Of lingwei > Sent: 2020=1B$BG/=1B(B7=1B$B7n=1B(B21=1B$BF|=1B(B 22:42 > To: dts@dpdk.org > Cc: Ling, WeiX > Subject: [dts] [PATCH V1] tests/TestSuite_ipfrag: Add -w option in set_up= _all > method >=20 > Because DPDK upgrade,if no -w option,ip_fragmentation will use all DPDK d= river > by default. >=20 > Signed-off-by: lingwei > --- > tests/TestSuite_ipfrag.py | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_ipfrag.py b/tests/TestSuite_ipfrag.py index > cbcd5fe..8ad2e82 100644 > --- a/tests/TestSuite_ipfrag.py > +++ b/tests/TestSuite_ipfrag.py > @@ -129,10 +129,13 @@ l3fwd_ipv4_route_array[] =3D {\\\n" > numPortThread =3D len([P0, P1]) / len(cores) > result =3D True > errString =3D '' > + eal_param =3D "" > + for i in [P0, P1]: > + eal_param +=3D " -w %s" % self.dut.ports_info[i]['pci'] >=20 > # run ipv4_frag > - self.dut.send_expect("examples/ip_fragmentation/build/ip_fragmen= tation > -c %s -n %d -- -p %s -q %s" % ( > - coremask, self.dut.get_memory_channels(), portmask, > int(numPortThread)), "Link Up", 120) > + self.dut.send_expect("examples/ip_fragmentation/build/ip_fragmen= tation > -c %s -n %d %s -- -p %s -q %s" % ( > + coremask, self.dut.get_memory_channels(), eal_param, > + portmask, int(numPortThread)), "Link Up", 120) >=20 > time.sleep(2) > self.txItf =3D self.tester.get_interface(self.tester.get_local_p= ort(P0)) > -- > 2.17.1