test suite reviews and discussions
 help / color / Atom feed
* Re: [dts] [PATCH V1] tests/hotplug_mp: bind the ports to dpdk after test
  2019-08-15 10:35 [dts] [PATCH V1] tests/hotplug_mp: bind the ports to dpdk after test Wenjie Li
@ 2019-08-15  1:42 ` Li, WenjieX A
  2019-08-28 10:41 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Li, WenjieX A @ 2019-08-15  1:42 UTC (permalink / raw)
  To: dts; +Cc: Li, WenjieX A

Tested-by: Li, WenjieX A <wenjiex.a.li@intel.com>

> -----Original Message-----
> From: Li, WenjieX A
> Sent: Thursday, August 15, 2019 6:36 PM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
> Subject: [dts][PATCH V1] tests/hotplug_mp: bind the ports to dpdk after test
> 
> Should bind the ports to dpdk in tear_down_all, since ports are bind to kernel
> driver in set_up_all; without this action, it will affect following tests.
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
> ---
>  tests/TestSuite_hotplug_mp.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/TestSuite_hotplug_mp.py b/tests/TestSuite_hotplug_mp.py
> index 3a43058..42bbee9 100644
> --- a/tests/TestSuite_hotplug_mp.py
> +++ b/tests/TestSuite_hotplug_mp.py
> @@ -309,5 +309,6 @@ class TestHotplugMp(TestCase):
>          """
>          Run after each test suite.
>          """
> +        self.dut.bind_interfaces_linux(self.drivername)
>          self.dut.close_session(self.dut)
>          self.dut.kill_all()
> --
> 2.17.1


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

* [dts] [PATCH V1] tests/hotplug_mp: bind the ports to dpdk after test
@ 2019-08-15 10:35 Wenjie Li
  2019-08-15  1:42 ` Li, WenjieX A
  2019-08-28 10:41 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Wenjie Li @ 2019-08-15 10:35 UTC (permalink / raw)
  To: dts; +Cc: Wenjie Li

Should bind the ports to dpdk in tear_down_all, since ports are bind to
kernel driver in set_up_all; without this action, it will affect
following tests.

Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
---
 tests/TestSuite_hotplug_mp.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_hotplug_mp.py b/tests/TestSuite_hotplug_mp.py
index 3a43058..42bbee9 100644
--- a/tests/TestSuite_hotplug_mp.py
+++ b/tests/TestSuite_hotplug_mp.py
@@ -309,5 +309,6 @@ class TestHotplugMp(TestCase):
         """
         Run after each test suite.
         """
+        self.dut.bind_interfaces_linux(self.drivername)
         self.dut.close_session(self.dut)
         self.dut.kill_all()
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/hotplug_mp: bind the ports to dpdk after test
  2019-08-15 10:35 [dts] [PATCH V1] tests/hotplug_mp: bind the ports to dpdk after test Wenjie Li
  2019-08-15  1:42 ` Li, WenjieX A
@ 2019-08-28 10:41 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-08-28 10:41 UTC (permalink / raw)
  To: Li, WenjieX A, dts; +Cc: Li, WenjieX A

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li
> Sent: Thursday, August 15, 2019 6:36 PM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
> Subject: [dts] [PATCH V1] tests/hotplug_mp: bind the ports to dpdk after test
> 
> Should bind the ports to dpdk in tear_down_all, since ports are bind to
> kernel driver in set_up_all; without this action, it will affect following tests.
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
> ---
>  tests/TestSuite_hotplug_mp.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/TestSuite_hotplug_mp.py b/tests/TestSuite_hotplug_mp.py
> index 3a43058..42bbee9 100644
> --- a/tests/TestSuite_hotplug_mp.py
> +++ b/tests/TestSuite_hotplug_mp.py
> @@ -309,5 +309,6 @@ class TestHotplugMp(TestCase):
>          """
>          Run after each test suite.
>          """
> +        self.dut.bind_interfaces_linux(self.drivername)
>          self.dut.close_session(self.dut)
>          self.dut.kill_all()
> --
> 2.17.1


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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-15 10:35 [dts] [PATCH V1] tests/hotplug_mp: bind the ports to dpdk after test Wenjie Li
2019-08-15  1:42 ` Li, WenjieX A
2019-08-28 10:41 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox