test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V5] tests/port_control:modify vm vf bind default driver
@ 2020-02-20  7:19 Zeng Xiaoxiao
  2020-02-20  7:29 ` Xie, WeiX
  2020-02-21  2:03 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Zeng Xiaoxiao @ 2020-02-20  7:19 UTC (permalink / raw)
  To: dts; +Cc: Zeng Xiaoxiao

Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V5] tests/port_control:modify vm vf bind default driver
  2020-02-20  7:19 [dts] [PATCH V5] tests/port_control:modify vm vf bind default driver Zeng Xiaoxiao
@ 2020-02-20  7:29 ` Xie, WeiX
  2020-02-21  2:03 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xie, WeiX @ 2020-02-20  7:29 UTC (permalink / raw)
  To: dts; +Cc: Zeng, XiaoxiaoX, Xie, WeiX

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

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

Regards,
Xie Wei


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

Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@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


[-- Attachment #2: TestPortControl.log --]
[-- Type: application/octet-stream, Size: 228387 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V5] tests/port_control:modify vm vf bind default driver
  2020-02-20  7:19 [dts] [PATCH V5] tests/port_control:modify vm vf bind default driver Zeng Xiaoxiao
  2020-02-20  7:29 ` Xie, WeiX
@ 2020-02-21  2:03 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-02-21  2:03 UTC (permalink / raw)
  To: Zeng, XiaoxiaoX, dts; +Cc: Zeng, XiaoxiaoX

Applied, thanks

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-21  2:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-20  7:19 [dts] [PATCH V5] tests/port_control:modify vm vf bind default driver Zeng Xiaoxiao
2020-02-20  7:29 ` Xie, WeiX
2020-02-21  2:03 ` Tu, Lijuan

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).