From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 509DF288C for ; Fri, 25 Jan 2019 05:49:33 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jan 2019 20:49:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,519,1539673200"; d="scan'208";a="294269675" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 24 Jan 2019 20:49:32 -0800 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 24 Jan 2019 20:49:31 -0800 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 24 Jan 2019 20:49:31 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.110]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.190]) with mapi id 14.03.0415.000; Fri, 25 Jan 2019 12:49:29 +0800 From: "Tu, Lijuan" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" Thread-Topic: [dts] [PATCH V1] tests/dynamic_queue use whitelist for Forville_spirit Thread-Index: AQHUsfYU1TicA5Pxl06MdgrvPdgeY6W/bolA Date: Fri, 25 Jan 2019 04:49:29 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA19215@SHSMSX101.ccr.corp.intel.com> References: <1548122556-17506-1-git-send-email-wenhuix.zhu@intel.com> In-Reply-To: <1548122556-17506-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.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjc5NDcxZGYtMTMyNy00YzkwLWFmOGItMTllODRjM2NlMWJkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicTVEMzUxSWtaNE1YTFBGckZVRk1STlc1S3Mwa0RVcVdNVTZFWTJielJcL1FyeFNMYTRvR2xVd1gxcG5ZUUhSTEwifQ== 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] tests/dynamic_queue use whitelist for Forville_spirit 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: Fri, 25 Jan 2019 04:49:33 -0000 Applied, thanks, please mind your version. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui > Sent: Tuesday, January 22, 2019 10:03 AM > To: dts@dpdk.org > Cc: Zhu, WenhuiX > Subject: [dts] [PATCH V1] tests/dynamic_queue use whitelist for Forville_= spirit >=20 > Because of forville spirit limitation, can't use 2 ports for testing. > Use whitelist this workaround for Forville_spirit >=20 > Signed-off-by: zhuwenhui > --- > tests/TestSuite_dynamic_queue.py | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_dynamic_queue.py > b/tests/TestSuite_dynamic_queue.py > index f155686..34a9363 100644 > --- a/tests/TestSuite_dynamic_queue.py > +++ b/tests/TestSuite_dynamic_queue.py > @@ -27,9 +27,16 @@ class TestDynamicQueue(TestCase): > self.dut_testpmd =3D PmdOutput(self.dut) >=20 > def set_up(self): > - self.dut_testpmd.start_testpmd( > - "Default", "--port-topology=3Dchained --txq=3D%s --rxq=3D%s" > - % (self.PF_QUEUE, self.PF_QUEUE)) > + # Because of forville spirit limitation,can't use 2 ports for te= sting > + if (self.nic in ["fortville_spirit"]): > + self.dut_testpmd.start_testpmd( > + "Default", "--port-topology=3Dchained --txq=3D%s --rxq= =3D%s" > + % (self.PF_QUEUE, self.PF_QUEUE), eal_param=3D"-w %s" > + % (self.dut.get_port_pci(self.dut_ports[0]))) > + else: > + self.dut_testpmd.start_testpmd( > + "Default", "--port-topology=3Dchained --txq=3D%s --rxq= =3D%s" > + % (self.PF_QUEUE, self.PF_QUEUE)) >=20 > def element_strip(self, out, pattern): > """ > -- > 2.17.2