From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id F2C48A05D3 for ; Sun, 24 Mar 2019 09:29:04 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C343D1B7E3; Sun, 24 Mar 2019 09:29:04 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 92D671B7E2 for ; Sun, 24 Mar 2019 09:29:03 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Mar 2019 01:29:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="128154517" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga008.jf.intel.com with ESMTP; 24 Mar 2019 01:29:02 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 24 Mar 2019 01:29:01 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 24 Mar 2019 01:29:01 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.134]) with mapi id 14.03.0415.000; Sun, 24 Mar 2019 16:29:00 +0800 From: "Tu, Lijuan" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Li, WenjieX A" Thread-Topic: [dts] [PATCH V3] tests/flow_classify_softnic: update the thread number Thread-Index: AQHU4FJDPWqJ3vqoWU6f3d16VMjhIqYadohA Date: Sun, 24 Mar 2019 08:28:59 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA4598C@SHSMSX101.ccr.corp.intel.com> References: <1553219859-74302-1-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1553219859-74302-1-git-send-email-wenjiex.a.li@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.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWIzZWJmNDItMzFiMy00YTAxLWFhNmQtMGM0ZDc3ZTI0ZDYwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVUFJaUhReGtUdGRsRjg1S1wvVTJRaTcyeFFNTjVYRTl4M0wzVVwvSmluY1J5Y0VLSkY2ZGZuVWJyK2lxZ1hVT3ROIn0= 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 V3] tests/flow_classify_softnic: update the thread number 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 [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li > Sent: Thursday, March 21, 2019 6:58 PM > To: dts@dpdk.org > Cc: Li, WenjieX A > Subject: [dts] [PATCH V3] tests/flow_classify_softnic: update the thread = number >=20 > 1. the thread number should be equal to the port number, update it 2. mov= e > dut.kill_all() to tear_down() to avoid the interactions between cases >=20 > Signed-off-by: Wenjie Li >=20 > V3: change the dts patch name > V2: add "sed -i ..." to set_ports() > V1: wrongly add "sed -i ..." to set_table() > --- > tests/TestSuite_flow_classify_softnic.py | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_flow_classify_softnic.py > b/tests/TestSuite_flow_classify_softnic.py > index 66db5c3..c98e8d0 100644 > --- a/tests/TestSuite_flow_classify_softnic.py > +++ b/tests/TestSuite_flow_classify_softnic.py > @@ -109,6 +109,8 @@ class TestFlowClassifySoftnic(TestCase): > self.dut.send_expect(cmd, "# ", 20) > cmd =3D "sed -i '4i\link LINK3 > dev %s' ./drivers/net/softnic/flow_classify_softnic/%s" % (self.dut_p3_pc= i, > filename) > self.dut.send_expect(cmd, "# ", 20) > + self.dut.send_expect("sed -i 's/^thread 4 pipeline/thread %d > + pipeline/g' ./drivers/net/softnic/flow_classify_softnic/%s" % > + (self.port_num, filename), "# ", 20) > + >=20 > def set_table(self, cmd, filename): > """ > @@ -1349,10 +1351,10 @@ class TestFlowClassifySoftnic(TestCase): > """ > Run after each test case. > """ > - pass > + self.dut.kill_all() >=20 > def tear_down_all(self): > """ > Run after each test suite. > """ > - self.dut.kill_all() > + pass > -- > 2.17.2