test suite reviews and discussions
 help / color / mirror / Atom feed
From: Xie wei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: Xie wei <weix.xie@intel.com>
Subject: [dts] [PATCH V2] tests/vf_kernel:modify default driver from igb_uio to vfio-pci on vm
Date: Thu, 13 Aug 2020 15:06:44 +0800	[thread overview]
Message-ID: <20200813070644.14669-1-weix.xie@intel.com> (raw)

modify vm default driver from igb_uio to vfio-pci

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

diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py
index f2f28fe..54676c2 100755
--- a/tests/TestSuite_vf_kernel.py
+++ b/tests/TestSuite_vf_kernel.py
@@ -706,7 +706,7 @@ class TestVfKernel(TestCase):
         """
         self.vm0_dut.send_expect("ifconfig %s up " % self.vm0_intf0, "#")
         self.vm0_dut.send_expect("ifconfig %s up " % self.vm0_intf1, "#")
-        self.vm0_dut.ports_info[1]['port'].bind_driver('igb_uio')
+        self.vm0_dut.ports_info[1]['port'].bind_driver('vfio-pci')
 
         # because of alt_session is false, host cmd need to execute before testpmd start
         vm0_vf0_mac = self.vm0_dut.ports_info[0]['port'].get_mac_addr()
@@ -790,11 +790,11 @@ class TestVfKernel(TestCase):
             self.verify(self.check_pf_vf_link_status(
                 self.vm1_dut, vm1_intf), "VM1_vf: %s link down" % vm1_intf)
 
-        # Bind kernel VF0, VF1 to igb_uio in VM0, bind kernel VF4 to igb_uio in
+        # Bind kernel VF0, VF1 to vfio-pci in VM0, bind kernel VF4 to vfio-pci in
         # VM1
-        self.vm0_dut.ports_info[0]['port'].bind_driver('igb_uio')
-        self.vm0_dut.ports_info[1]['port'].bind_driver('igb_uio')
-        self.vm1_dut.ports_info[0]['port'].bind_driver('igb_uio')
+        self.vm0_dut.ports_info[0]['port'].bind_driver('vfio-pci')
+        self.vm0_dut.ports_info[1]['port'].bind_driver('vfio-pci')
+        self.vm1_dut.ports_info[0]['port'].bind_driver('vfio-pci')
 
         # because of alt_session is false, host cmd need to execute before testpmd start
         vm0_vf2_mac = self.vm0_dut.ports_info[2]['port'].get_mac_addr()
-- 
2.17.1


             reply	other threads:[~2020-08-13  7:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-13  7:06 Xie wei [this message]
2020-08-21  2:41 ` 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=20200813070644.14669-1-weix.xie@intel.com \
    --to=weix.xie@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).