test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg step
@ 2021-03-30  9:23 Ling Wei
  2021-03-30  9:30 ` Ling, WeiX
  0 siblings, 1 reply; 4+ messages in thread
From: Ling Wei @ 2021-03-30  9:23 UTC (permalink / raw)
  To: dts; +Cc: Ling Wei

Add bind ports of ports.cfg step to avoid the effects 
on other testsuites.

Signed-off-by: Ling Wei <weix.ling@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 efd04ffd..f5668ad4 100644
--- a/tests/TestSuite_dpdk_gro_lib.py
+++ b/tests/TestSuite_dpdk_gro_lib.py
@@ -483,6 +483,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("./usertools/dpdk-devbind.py -u %s" % (self.pci), '# ', 30)
-- 
2.25.1


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

* Re: [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg step
  2021-03-30  9:23 [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg step Ling Wei
@ 2021-03-30  9:30 ` Ling, WeiX
  2021-04-01  5:17   ` Wang, Yinan
  0 siblings, 1 reply; 4+ messages in thread
From: Ling, WeiX @ 2021-03-30  9:30 UTC (permalink / raw)
  To: dts

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

> -----Original Message-----
> From: Ling, WeiX <weix.ling@intel.com>
> Sent: Tuesday, March 30, 2021 05:23 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg step
> 
Tested-by: Wei Ling <weix.ling@intel.com>

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

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

* Re: [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg step
  2021-03-30  9:30 ` Ling, WeiX
@ 2021-04-01  5:17   ` Wang, Yinan
  2021-04-07  1:08     ` Tu, Lijuan
  0 siblings, 1 reply; 4+ messages in thread
From: Wang, Yinan @ 2021-04-01  5:17 UTC (permalink / raw)
  To: Ling, WeiX, dts

Acked-by: Wang, Yinan <yinan.wang@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Ling, WeiX
> Sent: 2021?3?30? 17:30
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg
> step
> 
> > -----Original Message-----
> > From: Ling, WeiX <weix.ling@intel.com>
> > Sent: Tuesday, March 30, 2021 05:23 PM
> > To: dts@dpdk.org
> > Cc: Ling, WeiX <weix.ling@intel.com>
> > Subject: [dts][PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg
> step
> >
> Tested-by: Wei Ling <weix.ling@intel.com>

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

* Re: [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg step
  2021-04-01  5:17   ` Wang, Yinan
@ 2021-04-07  1:08     ` Tu, Lijuan
  0 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2021-04-07  1:08 UTC (permalink / raw)
  To: Wang, Yinan, Ling, WeiX, dts

Applied

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Wang, Yinan
> Sent: 2021年4月1日 13:18
> To: Ling, WeiX <weix.ling@intel.com>; dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg
> step
> 
> Acked-by: Wang, Yinan <yinan.wang@intel.com>
> 
> > -----Original Message-----
> > From: dts <dts-bounces@dpdk.org> On Behalf Of Ling, WeiX
> > Sent: 2021?3?30? 17:30
> > To: dts@dpdk.org
> > Subject: Re: [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of
> > ports.cfg step
> >
> > > -----Original Message-----
> > > From: Ling, WeiX <weix.ling@intel.com>
> > > Sent: Tuesday, March 30, 2021 05:23 PM
> > > To: dts@dpdk.org
> > > Cc: Ling, WeiX <weix.ling@intel.com>
> > > Subject: [dts][PATCH V1] tests/dpdk_gro_lib: add bind ports of
> > > ports.cfg
> > step
> > >
> > Tested-by: Wei Ling <weix.ling@intel.com>

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

end of thread, other threads:[~2021-04-07  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30  9:23 [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg step Ling Wei
2021-03-30  9:30 ` Ling, WeiX
2021-04-01  5:17   ` Wang, Yinan
2021-04-07  1:08     ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	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

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


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