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 3B137A0487 for ; Fri, 5 Jul 2019 04:43:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2D1742C60; Fri, 5 Jul 2019 04:43:06 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 23F482C5E for ; Fri, 5 Jul 2019 04:43:04 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jul 2019 19:43:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,453,1557212400"; d="scan'208";a="363479762" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 04 Jul 2019 19:43:03 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 4 Jul 2019 19:43:02 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 4 Jul 2019 19:43:02 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.232]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.240]) with mapi id 14.03.0439.000; Fri, 5 Jul 2019 10:43:00 +0800 From: "Zhang, YanX A" To: "dts@dpdk.org" CC: "Zhang, YanX A" Thread-Topic: [dts][PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC Thread-Index: AQHVMtsrqIYbWGf4G0WTXsbgUI3nfKa7UPGQ Date: Fri, 5 Jul 2019 02:42:59 +0000 Message-ID: <2C49E4B25FAD1D419F7564D633EF72E1F3953A@SHSMSX105.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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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" Tested-by: Zhang, YanX A -----Original Message----- From: Zhang, YanX A=20 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 Start pf testpmd to disable vf NIC. Signed-off-by: zhang,yan --- tests/TestSuite_ddp_mpls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_ddp_mpls.py b/tests/TestSuite_ddp_mpls.py inde= x 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"=20 - % (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= "=20 % (VF_MAX_QUEUE, VF_MAX_QUEUE)) -- 2.17.2