From: Xie wei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: Xie wei <weix.xie@intel.com>
Subject: [dts] [PATCH V1] tests/vf_kernel:change vm default driver from igb_uio to vfio-pci
Date: Wed, 12 Aug 2020 17:42:49 +0800 [thread overview]
Message-ID: <20200812094249.29836-1-weix.xie@intel.com> (raw)
change vm driver from igb_uio to vfio-pci
Signed-off-by: Xie wei <weix.xie@intel.com>
---
tests/TestSuite_vf_kernel.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py
index f2f28fe..23c994c 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()
@@ -792,9 +792,9 @@ class TestVfKernel(TestCase):
# Bind kernel VF0, VF1 to igb_uio in VM0, bind kernel VF4 to igb_uio 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
next reply other threads:[~2020-08-12 9:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-12 9:42 Xie wei [this message]
2020-08-12 9:42 ` Xie, WeiX
2020-08-13 5:46 ` 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=20200812094249.29836-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).