test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Zhang, YanX A" <yanx.a.zhang@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhang, YanX A" <yanx.a.zhang@intel.com>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC
Date: Fri, 5 Jul 2019 02:42:59 +0000	[thread overview]
Message-ID: <2C49E4B25FAD1D419F7564D633EF72E1F3953A@SHSMSX105.ccr.corp.intel.com> (raw)
In-Reply-To: <1562294775-153266-1-git-send-email-yanx.a.zhang@intel.com>

Tested-by:  Zhang, YanX A <yanx.a.zhang@intel.com>

-----Original Message-----
From: Zhang, YanX A 
Sent: Friday, July 5, 2019 10:46 AM
To: dts@dpdk.org
Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC

Start pf testpmd to disable vf NIC.

Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
---
 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


  reply	other threads:[~2019-07-05  2:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05  2:46 zhang,yan
2019-07-05  2:42 ` Zhang, YanX A [this message]
2019-07-10  5:30 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2C49E4B25FAD1D419F7564D633EF72E1F3953A@SHSMSX105.ccr.corp.intel.com \
    --to=yanx.a.zhang@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).