test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 1/2] support uio_pci_generic insmod in framework
@ 2017-10-18  1:26 xu,huilong
  2017-10-18  1:26 ` [dts] [PATCH V1 2/2] add a new support drivername in execution file drivername list xu,huilong
  2017-10-18  9:28 ` [dts] [PATCH V1 1/2] support uio_pci_generic insmod in framework Liu, Yong
  0 siblings, 2 replies; 3+ messages in thread
From: xu,huilong @ 2017-10-18  1:26 UTC (permalink / raw)
  To: dts; +Cc: xu,huilong

dpdk support uio_pci_generic driver, so should support insmod uio_pci_generic in
dts framework

Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
 framework/project_dpdk.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index 23d1d7c..6bc47f2 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -109,6 +109,12 @@ class DPDKdut(Dut):
             if drivermode == "noiommu":
                 self.send_expect("echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode", "#", 70)
 
+        elif drivername == "uio_pci_generic":
+            self.send_expect("modprobe uio", "#", 70)
+            self.send_expect("modprobe uio_pci_generic", "#", 70)
+            out = self.send_expect("lsmod | grep uio_pci_generic", "#")
+            assert ("uio_pci_generic" in out), "Failed to setup uio_pci_generic"
+ 
         else:
             self.send_expect("modprobe uio", "#", 70)
             out = self.send_expect("lsmod | grep igb_uio", "#")
-- 
1.9.3

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

* [dts] [PATCH V1 2/2] add a new support drivername in execution file drivername list
  2017-10-18  1:26 [dts] [PATCH V1 1/2] support uio_pci_generic insmod in framework xu,huilong
@ 2017-10-18  1:26 ` xu,huilong
  2017-10-18  9:28 ` [dts] [PATCH V1 1/2] support uio_pci_generic insmod in framework Liu, Yong
  1 sibling, 0 replies; 3+ messages in thread
From: xu,huilong @ 2017-10-18  1:26 UTC (permalink / raw)
  To: dts; +Cc: xu,huilong

add uio_pci_generic driver in execution file support driver list

Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
 executions/execution.cfg       | 2 +-
 executions/execution_FVL.cfg   | 2 +-
 executions/execution_fm10k.cfg | 2 +-
 executions/execution_smoke.cfg | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/executions/execution.cfg b/executions/execution.cfg
index 598c990..0683d74 100644
--- a/executions/execution.cfg
+++ b/executions/execution.cfg
@@ -1,6 +1,6 @@
 [Execution1]
 crbs=<CRB IP Address>
-drivername=<driver name igb_uio or vfio-pci or mlx5_core>
+drivername=<driver name igb_uio or vfio-pci or mlx5_core or uio_pci_generic>
 test_suites=
     cmdline,
     hello_world,
diff --git a/executions/execution_FVL.cfg b/executions/execution_FVL.cfg
index c7bcf5f..d5e6cfb 100644
--- a/executions/execution_FVL.cfg
+++ b/executions/execution_FVL.cfg
@@ -1,6 +1,6 @@
 [Execution1]
 crbs=<CRB IP Address>
-drivername=<driver name igb_uio or vfio-pci or mlx5_core>
+drivername=<driver name igb_uio or vfio-pci or mlx5_core or uio_pci_generic>
 test_suites=
     checksum_offload,
     dynamic_config,
diff --git a/executions/execution_fm10k.cfg b/executions/execution_fm10k.cfg
index fb4fc8c..971e4a4 100644
--- a/executions/execution_fm10k.cfg
+++ b/executions/execution_fm10k.cfg
@@ -1,6 +1,6 @@
 [Execution1]
 crbs=<CRB IP Address>
-drivername=<driver name igb_uio or vfio-pci>
+drivername=<driver name igb_uio or vfio-pci or uio_pci_generic>
 test_suites=
     checksum_offload,
     vlan,
diff --git a/executions/execution_smoke.cfg b/executions/execution_smoke.cfg
index 9e5d2e6..f069365 100644
--- a/executions/execution_smoke.cfg
+++ b/executions/execution_smoke.cfg
@@ -1,6 +1,6 @@
 [Execution1]
 crbs=<CRB IP Address>
-drivername=<driver name igb_uio or vfio-pci or mlx5_core>
+drivername=<driver name igb_uio or vfio-pci or mlx5_core or uio_pci_generic>
 test_suites=
     unit_tests_cmdline,
     unit_tests_eal,
-- 
1.9.3

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

* Re: [dts] [PATCH V1 1/2] support uio_pci_generic insmod in framework
  2017-10-18  1:26 [dts] [PATCH V1 1/2] support uio_pci_generic insmod in framework xu,huilong
  2017-10-18  1:26 ` [dts] [PATCH V1 2/2] add a new support drivername in execution file drivername list xu,huilong
@ 2017-10-18  9:28 ` Liu, Yong
  1 sibling, 0 replies; 3+ messages in thread
From: Liu, Yong @ 2017-10-18  9:28 UTC (permalink / raw)
  To: xu,huilong, dts

Thanks, huilong. Applied.

On 10/18/2017 09:26 AM, xu,huilong wrote:
> dpdk support uio_pci_generic driver, so should support insmod uio_pci_generic in
> dts framework
>
> Signed-off-by: xu,huilong<huilongx.xu@intel.com>
> ---
>   framework/project_dpdk.py | 6 ++++++
>   1 file changed, 6 insertions(+)

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

end of thread, other threads:[~2017-10-18  1:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-18  1:26 [dts] [PATCH V1 1/2] support uio_pci_generic insmod in framework xu,huilong
2017-10-18  1:26 ` [dts] [PATCH V1 2/2] add a new support drivername in execution file drivername list xu,huilong
2017-10-18  9:28 ` [dts] [PATCH V1 1/2] support uio_pci_generic insmod in framework Liu, Yong

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