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 151C0A0487 for ; Fri, 5 Jul 2019 04:41:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D80F74C99; Fri, 5 Jul 2019 04:41:35 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 21F0E4C8F for ; Fri, 5 Jul 2019 04:41:34 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jul 2019 19:41:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,453,1557212400"; d="scan'208";a="185087856" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 04 Jul 2019 19:41:33 -0700 From: "zhang,yan" To: dts@dpdk.org Cc: "zhang,yan" Date: Fri, 5 Jul 2019 10:46:15 +0800 Message-Id: <1562294775-153266-1-git-send-email-yanx.a.zhang@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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" 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 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 = self.vm0_dut.get_ports('any') self.vm0_testpmd = PmdOutput(self.vm0_dut) self.env_done = True + eal_param = '-b %(vf0)s' % {'vf0': self.sriov_vfs_port[0].pci} self.dut_testpmd.start_testpmd( "Default","--port-topology=chained --txq=%s --rxq=%s" - % (PF_MAX_QUEUE, PF_MAX_QUEUE)) + % (PF_MAX_QUEUE, PF_MAX_QUEUE), eal_param=eal_param) self.vm0_testpmd.start_testpmd( VM_CORES_MASK,"--port-topology=chained --txq=%s --rxq=%s" % (VF_MAX_QUEUE, VF_MAX_QUEUE)) -- 2.17.2