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 C7065A00E6 for ; Thu, 8 Aug 2019 11:12:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7FA781B02E; Thu, 8 Aug 2019 11:12:12 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 51EFB5F11 for ; Thu, 8 Aug 2019 11:12:10 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Aug 2019 02:12:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,360,1559545200"; d="scan'208";a="168923869" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga008.jf.intel.com with ESMTP; 08 Aug 2019 02:12:07 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 8 Aug 2019 02:12:05 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 8 Aug 2019 02:12:05 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.163]) with mapi id 14.03.0439.000; Thu, 8 Aug 2019 17:12:03 +0800 From: "Tu, Lijuan" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" Thread-Topic: [dts] [PATCH V2] tests/hotplug_mp:add parameters when igb_uio Thread-Index: AQHVReJ1JrwlPkdg90+QexgZ+/z5iabxBt+A Date: Thu, 8 Aug 2019 09:12:03 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFF8AD@SHSMSX101.ccr.corp.intel.com> References: <1564386964-120312-1-git-send-email-wenhuix.zhu@intel.com> In-Reply-To: <1564386964-120312-1-git-send-email-wenhuix.zhu@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDI1YjYwNTEtZDhiOC00ZjFhLWEwN2UtZTQwYWJjOWNiNmI5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoib1p0cnFya3E2QTYxVlU5UjN2RkFpbFNJdDJPNmp3akE0ZnB6dFEzd0xPNjV5bHlaTXc3XC9aQ3NpcjU3azVGWWMifQ== 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 V2] tests/hotplug_mp:add parameters when igb_uio 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 zhuwenhui > Sent: Monday, July 29, 2019 3:56 PM > To: dts@dpdk.org > Cc: Zhu, WenhuiX > Subject: [dts] [PATCH V2] tests/hotplug_mp:add parameters when igb_uio >=20 > Change test cases based on dpdk bbe29a9bd7ab6feab. >=20 > Signed-off-by: zhuwenhui > --- > tests/TestSuite_hotplug_mp.py | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) >=20 > diff --git a/tests/TestSuite_hotplug_mp.py b/tests/TestSuite_hotplug_mp.p= y > index ff89164..3a43058 100644 > --- a/tests/TestSuite_hotplug_mp.py > +++ b/tests/TestSuite_hotplug_mp.py > @@ -42,17 +42,20 @@ class TestHotplugMp(TestCase): > """ > Setup primary process and two secondary processes. > """ > + self.iova_param =3D "" > + if self.drivername in ["igb_uio"]: > + self.iova_param =3D "--iova-mode=3Dpa" > out =3D self.session_pri.send_expect( > - "./examples/multi_process/hotplug_mp/%s/hotplug_mp --proc- > type=3Dauto" > - % self.target, "example>") > + "./examples/multi_process/hotplug_mp/%s/hotplug_mp %s --proc= - > type=3Dauto" > + % (self.target, self.iova_param), "example>") > self.verify("Auto-detected process type: PRIMARY" in out, > "Failed to setup primary process!") > for out in [self.session_sec_1.send_expect( > - "./examples/multi_process/hotplug_mp/%s/hotplug_= mp -- > proc-type=3Dauto" > - % self.target, "example>"), > + "./examples/multi_process/hotplug_mp/%s/hotplug_= mp %s - > -proc-type=3Dauto" > + % (self.target, self.iova_param), "example>"), > self.session_sec_2.send_expect( > - "./examples/multi_process/hotplug_mp/%s/hotplug_= mp -- > proc-type=3Dauto" > - % self.target, "example>")]: > + "./examples/multi_process/hotplug_mp/%s/hotplug_= mp %s - > -proc-type=3Dauto" > + % (self.target, self.iova_param), "example>")]: > self.verify("Auto-detected process type: SECONDARY" in out, > "Failed to setup secondary process!") >=20 > -- > 2.17.2