test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/vf_kernel:change vm default driver from igb_uio to vfio-pci
@ 2020-08-12  9:42 Xie wei
  2020-08-12  9:42 ` Xie, WeiX
  2020-08-13  5:46 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xie wei @ 2020-08-12  9:42 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

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


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

* Re: [dts] [PATCH V1] tests/vf_kernel:change vm default driver from igb_uio to vfio-pci
  2020-08-12  9:42 [dts] [PATCH V1] tests/vf_kernel:change vm default driver from igb_uio to vfio-pci Xie wei
@ 2020-08-12  9:42 ` Xie, WeiX
  2020-08-13  5:46 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xie, WeiX @ 2020-08-12  9:42 UTC (permalink / raw)
  To: dts

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

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

Regards,
Xie Wei


-----Original Message-----
From: Xie, WeiX 
Sent: Wednesday, August 12, 2020 5:43 PM
To: dts@dpdk.org
Cc: Xie, WeiX <weix.xie@intel.com>
Subject: [dts][PATCH V1] tests/vf_kernel:change vm default driver from igb_uio to vfio-pci

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


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

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

* Re: [dts] [PATCH V1] tests/vf_kernel:change vm default driver from igb_uio to vfio-pci
  2020-08-12  9:42 [dts] [PATCH V1] tests/vf_kernel:change vm default driver from igb_uio to vfio-pci Xie wei
  2020-08-12  9:42 ` Xie, WeiX
@ 2020-08-13  5:46 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-08-13  5:46 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

> Subject: [dts] [PATCH V1] tests/vf_kernel:change vm default driver from igb_uio
> to vfio-pci
> 
> change vm driver from igb_uio to vfio-pci
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
>  tests/TestSuite_vf_kernel.py | 8 ++++----

>          # 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')

Comments are not align with code.



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

end of thread, other threads:[~2020-08-13  5:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12  9:42 [dts] [PATCH V1] tests/vf_kernel:change vm default driver from igb_uio to vfio-pci Xie wei
2020-08-12  9:42 ` Xie, WeiX
2020-08-13  5:46 ` 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).