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 10A23A00C5; Fri, 29 May 2020 10:35:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ECB321DC35; Fri, 29 May 2020 10:35:39 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 66D6E1DAEC for ; Fri, 29 May 2020 10:35:38 +0200 (CEST) IronPort-SDR: +XzzBuR5dGXQ7MvQF0O9Z+GXpQFb14qnbJeS0FrqdNzlkTJVlqWzISDRLinCmzY4OsOCmx7IZN foseYCBlxlXw== 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; 29 May 2020 01:35:37 -0700 IronPort-SDR: hvAWxs7PRWCUkGgEgT5S0Ul5+55A8KDrod5a0ikw/85ENSQ99bcTRTa66Qgsvj0lVtB6TEV+BA I984FDbq2Z2A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,447,1583222400"; d="scan'208";a="311183291" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 29 May 2020 01:35:37 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 29 May 2020 01:35:37 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 29 May 2020 01:35:36 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 29 May 2020 01:35:36 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.178]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.13]) with mapi id 14.03.0439.000; Fri, 29 May 2020 16:35:34 +0800 From: "Tu, Lijuan" To: "Xie, WeiX" , "dts@dpdk.org" CC: "Xie, WeiX" Thread-Topic: [dts] [PATCH V1] tests/floating_veb: reject space in pci id Thread-Index: AQHWL1QZztRKIVWkYE6Z/0qc23lrSai+yYuQ Date: Fri, 29 May 2020 08:35:34 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC46A39@SHSMSX101.ccr.corp.intel.com> References: <1590053511-68496-1-git-send-email-weix.xie@intel.com> In-Reply-To: <1590053511-68496-1-git-send-email-weix.xie@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="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/floating_veb: reject space in pci id 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 Xie Wei > Sent: Thursday, May 21, 2020 5:32 PM > To: dts@dpdk.org > Cc: Xie, WeiX > Subject: [dts] [PATCH V1] tests/floating_veb: reject space in pci id >=20 >=20 >=20 > Signed-off-by: Xie Wei > --- > tests/TestSuite_floating_veb.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_floating_veb.py b/tests/TestSuite_floating_v= eb.py > index 350d8fa..bf83cb5 100644 > --- a/tests/TestSuite_floating_veb.py > +++ b/tests/TestSuite_floating_veb.py > @@ -357,7 +357,7 @@ class TestFloatingVEBSwitching(TestCase): > """ > self.setup_env(driver=3Dself.drivername, vf_num=3D4) > # start PF > - self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem > 1024,1024 \"-w %s,enable_floating_veb=3D1,floating_veb_list=3D0;2-3\" --f= ile- > prefix=3Dtest1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120) > + self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem > + 1024,1024 -w \"%s,enable_floating_veb=3D1,floating_veb_list=3D0;2-3\" > + --file-prefix=3Dtest1 -- -i" % (self.target, self.pf_pci), "testpmd>", > + 120) > self.dut.send_expect("port start all", "testpmd>") > time.sleep(2) > # VF1->VF0 > @@ -486,7 +486,7 @@ class TestFloatingVEBSwitching(TestCase): > """ > self.setup_env(driver=3Dself.drivername, vf_num=3D4) > # VF0->PF > - self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem > 1024,1024 \"-w %s,enable_floating_veb=3D1,floating_veb_list=3D0;3\" --fil= e- > prefix=3Dtest1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120) > + self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem > + 1024,1024 -w \"%s,enable_floating_veb=3D1,floating_veb_list=3D0;3\" > + --file-prefix=3Dtest1 -- -i" % (self.target, self.pf_pci), "testpmd>", > + 120) > self.dut.send_expect("set fwd rxonly", "testpmd>") > self.dut.send_expect("set promisc all off", "testpmd>") > self.dut.send_expect("start", "testpmd>") > -- > 2.17.2