[dts] [PATCH V5] tests/port_control:modify vm vf bind default driver

Xie, WeiX weix.xie at intel.com
Thu Feb 20 08:29:16 CET 2020


Tested-by:  Xie,WeiX < weix.xie at intel.com>

Regards,
Xie Wei


-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Zeng Xiaoxiao
Sent: Thursday, February 20, 2020 3:19 PM
To: dts at dpdk.org
Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
Subject: [dts] [PATCH V5] tests/port_control:modify vm vf bind default driver

Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
---
 tests/TestSuite_port_control.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_port_control.py b/tests/TestSuite_port_control.py index 2b16c82..7af19a5 100644
--- a/tests/TestSuite_port_control.py
+++ b/tests/TestSuite_port_control.py
@@ -156,7 +156,7 @@ class TestPortControl(TestCase):
         vf_pci = re.findall(r"(\d+.\d+.\d+.\d+)", drive_info.split("kernel")[1])
         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("./usertools/dpdk-devbind.py -b %s %s" % (self.pf_default_driver, vf_pci[1]), "#")
+        terminal.send_expect("./usertools/dpdk-devbind.py -b igb_uio 
+ %s" % vf_pci[1], "#")
         cmd = "./%s/app/testpmd -n 1 -w %s -- -i" % (self.target, vf_pci[1])
         terminal.send_expect(cmd, "testpmd>", 10)
 
--
1.8.3.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestPortControl.log
Type: application/octet-stream
Size: 228387 bytes
Desc: TestPortControl.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20200220/1593477c/attachment.obj>


More information about the dts mailing list