test suite reviews and discussions
 help / color / mirror / Atom feed
From: lihong <lihongx.ma@intel.com>
To: lihongx.ma@intel.com
Cc: dts@dpdk.org, Xie wei <weix.xie@intel.com>
Subject: Re: [dts] [PATCH] [PATCH V1] tests/port_control:change vm dpdk driver from igb_uio to vfio-pci
Date: Tue, 30 Jun 2020 12:19:08 +0000	[thread overview]
Message-ID: <20200630121908.29211-1-lihongx.ma@intel.com> (raw)
In-Reply-To: <20200629073031.7689-1-weix.xie@intel.com>

tested-by:<lihongx.ma@intel.com>

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_port_control.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_port_control.py b/tests/TestSuite_port_control.py
index 1a588d3..147dc80 100644
--- a/tests/TestSuite_port_control.py
+++ b/tests/TestSuite_port_control.py
@@ -157,8 +157,8 @@ class TestPortControl(TestCase):
         terminal.send_expect("ifconfig %s hw ether %s" % (vf_if[1], self.vf_mac), "#")
         terminal.send_expect("ifconfig %s up" % vf_if[1], "#")
         terminal.send_expect("ip addr flush %s " % vf_if[1], "#")
-        terminal.send_expect("./usertools/dpdk-devbind.py -b igb_uio --force %s" % vf_pci[1], "#")
-        cmd = "./%s/app/testpmd -n 1 -w %s -- -i" % (self.target, vf_pci[1])
+        terminal.send_expect("./usertools/dpdk-devbind.py -b vfio-pci --force %s" % vf_pci[1], "#")
+        cmd = "./%s/app/testpmd -n 1 -w %s --vfio-intr=legacy -- -i" % (self.target, vf_pci[1])
         terminal.send_expect(cmd, "testpmd>", 10)
 
     def start_testpmd(self, terminal):
@@ -171,6 +171,7 @@ class TestPortControl(TestCase):
     def start_pmd_port(self, terminal):
         terminal.execute_cmd("port start all")
         terminal.execute_cmd("start")
+        time.sleep(5)
         terminal.wait_link_status_up('all', timeout=5)
         ret = terminal.get_port_link_status(self.port_id_0)
         self.verify(ret == "up", "port not up!")
-- 
2.17.1
 


  parent reply	other threads:[~2020-06-30  3:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29  7:30 [dts] " Xie wei
2020-06-29  7:55 ` Xie, WeiX
2020-06-30 12:15   ` [dts] [PATCH] " lihong
2020-06-30 12:19 ` lihong [this message]
2020-07-01  6:05 ` [dts] " 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=20200630121908.29211-1-lihongx.ma@intel.com \
    --to=lihongx.ma@intel.com \
    --cc=dts@dpdk.org \
    --cc=weix.xie@intel.com \
    /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).