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 7ECA5A00E6 for ; Wed, 10 Jul 2019 07:30:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 531931B96E; Wed, 10 Jul 2019 07:30:18 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id EF3C71B95A for ; Wed, 10 Jul 2019 07:30:16 +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 fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2019 22:30:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,473,1557212400"; d="scan'208";a="159657697" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga008.jf.intel.com with ESMTP; 09 Jul 2019 22:30:15 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 9 Jul 2019 22:30:15 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 9 Jul 2019 22:30:10 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 9 Jul 2019 22:30:10 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.134]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.55]) with mapi id 14.03.0439.000; Wed, 10 Jul 2019 13:30:08 +0800 From: "Tu, Lijuan" To: "Zhang, YanX A" , "dts@dpdk.org" CC: "Zhang, YanX A" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC Thread-Index: AQHVMts/rUHYEj4QK0+6qw4n9DuhyKbDW1Tw Date: Wed, 10 Jul 2019 05:30:08 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BADE90B@SHSMSX101.ccr.corp.intel.com> References: <1562294775-153266-1-git-send-email-yanx.a.zhang@intel.com> In-Reply-To: <1562294775-153266-1-git-send-email-yanx.a.zhang@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.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDRjNDNmZjktMzg1ZC00YjYwLWEwNWQtMTFkODk4OTQyYjRjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMnI2WEw1UkVFTzBZNlJZOUwzYTZadFBxc1oxOGhoSkl2T29RV1krZGVWM0lhamE5aDFveHpYNTJvNVY0QkhZaiJ9 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/TestSuite_ddp_mpls:Disable the vf NIC 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 zhang,yan > Sent: Friday, July 5, 2019 10:46 AM > To: dts@dpdk.org > Cc: Zhang, YanX A > Subject: [dts] [PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC >=20 > Start pf testpmd to disable vf NIC. >=20 > Signed-off-by: zhang,yan > --- > tests/TestSuite_ddp_mpls.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_ddp_mpls.py b/tests/TestSuite_ddp_mpls.py > index 599e5cd..547e1c9 100644 > --- a/tests/TestSuite_ddp_mpls.py > +++ b/tests/TestSuite_ddp_mpls.py > @@ -95,10 +95,11 @@ class Testddp_mpls(TestCase): > self.vm0_dut_ports =3D self.vm0_dut.get_ports('any') > self.vm0_testpmd =3D PmdOutput(self.vm0_dut) > self.env_done =3D True > + eal_param =3D '-b %(vf0)s' % {'vf0': self.sriov_vfs_port[0].pci} >=20 > self.dut_testpmd.start_testpmd( > "Default","--port-topology=3Dchained --txq=3D%s --rxq=3D%s" > - % (PF_MAX_QUEUE, PF_MAX_QUEUE)) > + % (PF_MAX_QUEUE, PF_MAX_QUEUE), eal_param=3Deal_param) > self.vm0_testpmd.start_testpmd( > VM_CORES_MASK,"--port-topology=3Dchained --txq=3D%s --rxq=3D= %s" > % (VF_MAX_QUEUE, VF_MAX_QUEUE)) > -- > 2.17.2