test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 0/3] bind back port after test end
@ 2020-04-30  6:40 Xiao Qimai
  2020-04-30  6:40 ` [dts] [PATCH V1 1/3]dpdk_gro_lib: bind port back after testsuite end Xiao Qimai
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Xiao Qimai @ 2020-04-30  6:40 UTC (permalink / raw)
  To: dts; +Cc: Xiao Qimai

*. bind port back to dpdk driver in case of interfere other cases

Xiao Qimai (3):
  bind port back after testsuite end
  bind port back after testsuite end
  bind port back after testsuite end

 tests/TestSuite_dpdk_gro_lib.py                    | 3 +++
 tests/TestSuite_dpdk_gso_lib.py                    | 3 +++
 tests/TestSuite_virtio_user_as_exceptional_path.py | 4 ++++
 3 files changed, 10 insertions(+)

-- 
1.8.3.1


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

* [dts] [PATCH V1 1/3]dpdk_gro_lib: bind port back after testsuite end
  2020-04-30  6:40 [dts] [PATCH V1 0/3] bind back port after test end Xiao Qimai
@ 2020-04-30  6:40 ` Xiao Qimai
  2020-04-30  6:40 ` [dts] [PATCH V1 2/3]dpdk_gso_lib: " Xiao Qimai
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Xiao Qimai @ 2020-04-30  6:40 UTC (permalink / raw)
  To: dts; +Cc: Xiao Qimai

Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
 tests/TestSuite_dpdk_gro_lib.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/TestSuite_dpdk_gro_lib.py b/tests/TestSuite_dpdk_gro_lib.py
index 0e1e3c8..49a7407 100644
--- a/tests/TestSuite_dpdk_gro_lib.py
+++ b/tests/TestSuite_dpdk_gro_lib.py
@@ -393,6 +393,9 @@ class TestDPDKGROLib(TestCase):
         """
         Run after each test suite.
         """
+        for i in self.dut_ports:
+            port = self.dut.ports_info[i]['port']
+            port.bind_driver(self.def_driver)
         self.unprepare_dpdk()
         self.dut.send_expect("ip netns del ns1", "# ", 30)
         self.dut.send_expect(
-- 
1.8.3.1


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

* [dts] [PATCH V1 2/3]dpdk_gso_lib: bind port back after testsuite end
  2020-04-30  6:40 [dts] [PATCH V1 0/3] bind back port after test end Xiao Qimai
  2020-04-30  6:40 ` [dts] [PATCH V1 1/3]dpdk_gro_lib: bind port back after testsuite end Xiao Qimai
@ 2020-04-30  6:40 ` Xiao Qimai
  2020-04-30  6:40 ` [dts] [PATCH V1 3/3]virtio_user_as_exceptional_path: " Xiao Qimai
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Xiao Qimai @ 2020-04-30  6:40 UTC (permalink / raw)
  To: dts; +Cc: Xiao Qimai

Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
 tests/TestSuite_dpdk_gso_lib.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/TestSuite_dpdk_gso_lib.py b/tests/TestSuite_dpdk_gso_lib.py
index 72b1372..433869a 100644
--- a/tests/TestSuite_dpdk_gso_lib.py
+++ b/tests/TestSuite_dpdk_gso_lib.py
@@ -534,6 +534,9 @@ class TestDPDKGsoLib(TestCase):
         """
         Run after each test suite.
         """
+        for i in self.dut_ports:
+            port = self.dut.ports_info[i]['port']
+            port.bind_driver(self.def_driver)
         self.unprepare_dpdk()
         self.dut.send_expect("ip netns del ns1", "#", 30)
         self.dut.send_expect(
-- 
1.8.3.1


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

* [dts] [PATCH V1 3/3]virtio_user_as_exceptional_path: bind port back after testsuite end
  2020-04-30  6:40 [dts] [PATCH V1 0/3] bind back port after test end Xiao Qimai
  2020-04-30  6:40 ` [dts] [PATCH V1 1/3]dpdk_gro_lib: bind port back after testsuite end Xiao Qimai
  2020-04-30  6:40 ` [dts] [PATCH V1 2/3]dpdk_gso_lib: " Xiao Qimai
@ 2020-04-30  6:40 ` Xiao Qimai
  2020-04-30  8:21 ` [dts] [PATCH V1 0/3] bind back port after test end Xiao, QimaiX
  2020-05-06  5:42 ` Tu, Lijuan
  4 siblings, 0 replies; 6+ messages in thread
From: Xiao Qimai @ 2020-04-30  6:40 UTC (permalink / raw)
  To: dts; +Cc: Xiao Qimai

Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
 tests/TestSuite_virtio_user_as_exceptional_path.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/TestSuite_virtio_user_as_exceptional_path.py b/tests/TestSuite_virtio_user_as_exceptional_path.py
index 35a0a98..faf8c49 100644
--- a/tests/TestSuite_virtio_user_as_exceptional_path.py
+++ b/tests/TestSuite_virtio_user_as_exceptional_path.py
@@ -322,6 +322,10 @@ class TestVirtioUserAsExceptionalPath(TestCase):
         """
         Run after each test suite.
         """
+        # bind the port conf in ports.cfg
+        for i in self.dut_ports:
+            port = self.dut.ports_info[i]['port']
+            port.bind_driver(self.def_driver)
         self.unprepare_dpdk()
         if self.peer_pci_setup:
             self.dut.send_expect(
-- 
1.8.3.1


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

* Re: [dts] [PATCH V1 0/3] bind back port after test end
  2020-04-30  6:40 [dts] [PATCH V1 0/3] bind back port after test end Xiao Qimai
                   ` (2 preceding siblings ...)
  2020-04-30  6:40 ` [dts] [PATCH V1 3/3]virtio_user_as_exceptional_path: " Xiao Qimai
@ 2020-04-30  8:21 ` Xiao, QimaiX
  2020-05-06  5:42 ` Tu, Lijuan
  4 siblings, 0 replies; 6+ messages in thread
From: Xiao, QimaiX @ 2020-04-30  8:21 UTC (permalink / raw)
  To: dts

Tested-by: Xiao, QimaiX <qimaix.xiao@intel.com>

Regards,
Xiao Qimai

> -----Original Message-----
> From: Xiao, QimaiX
> Sent: Thursday, April 30, 2020 2:41 PM
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: [dts][PATCH V1 0/3] bind back port after test end
> 
> *. bind port back to dpdk driver in case of interfere other cases
> 
> Xiao Qimai (3):
>   bind port back after testsuite end
>   bind port back after testsuite end
>   bind port back after testsuite end
> 
>  tests/TestSuite_dpdk_gro_lib.py                    | 3 +++
>  tests/TestSuite_dpdk_gso_lib.py                    | 3 +++
>  tests/TestSuite_virtio_user_as_exceptional_path.py | 4 ++++
>  3 files changed, 10 insertions(+)
> 
> --
> 1.8.3.1


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

* Re: [dts] [PATCH V1 0/3] bind back port after test end
  2020-04-30  6:40 [dts] [PATCH V1 0/3] bind back port after test end Xiao Qimai
                   ` (3 preceding siblings ...)
  2020-04-30  8:21 ` [dts] [PATCH V1 0/3] bind back port after test end Xiao, QimaiX
@ 2020-05-06  5:42 ` Tu, Lijuan
  4 siblings, 0 replies; 6+ messages in thread
From: Tu, Lijuan @ 2020-05-06  5:42 UTC (permalink / raw)
  To: Xiao, QimaiX, dts; +Cc: Xiao, QimaiX

Applied the series, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai
> Sent: Thursday, April 30, 2020 2:41 PM
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: [dts] [PATCH V1 0/3] bind back port after test end
> 
> *. bind port back to dpdk driver in case of interfere other cases
> 
> Xiao Qimai (3):
>   bind port back after testsuite end
>   bind port back after testsuite end
>   bind port back after testsuite end
> 
>  tests/TestSuite_dpdk_gro_lib.py                    | 3 +++
>  tests/TestSuite_dpdk_gso_lib.py                    | 3 +++
>  tests/TestSuite_virtio_user_as_exceptional_path.py | 4 ++++
>  3 files changed, 10 insertions(+)
> 
> --
> 1.8.3.1


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

end of thread, other threads:[~2020-05-06  5:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30  6:40 [dts] [PATCH V1 0/3] bind back port after test end Xiao Qimai
2020-04-30  6:40 ` [dts] [PATCH V1 1/3]dpdk_gro_lib: bind port back after testsuite end Xiao Qimai
2020-04-30  6:40 ` [dts] [PATCH V1 2/3]dpdk_gso_lib: " Xiao Qimai
2020-04-30  6:40 ` [dts] [PATCH V1 3/3]virtio_user_as_exceptional_path: " Xiao Qimai
2020-04-30  8:21 ` [dts] [PATCH V1 0/3] bind back port after test end Xiao, QimaiX
2020-05-06  5:42 ` 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).