test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] frmework/dut: clean prefix_list on freebsd
@ 2019-10-17 11:31 Xiao Qimai
  2019-10-22  9:16 ` Xiao, QimaiX
  2019-10-23  9:27 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xiao Qimai @ 2019-10-17 11:31 UTC (permalink / raw)
  To: dts; +Cc: Xiao Qimai

self.prefix_list need to be wiped on freebsd for kill_all method

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

diff --git a/framework/dut.py b/framework/dut.py
index b30506f..54ff28b 100644
--- a/framework/dut.py
+++ b/framework/dut.py
@@ -189,6 +189,7 @@ class Dut(Crb):
                           + blank + b_ports_str \
                           + blank + no_pci \
                           + blank + vdev
+		self.prefix_list = []
             else:
                 eal_str = '-l ' + ','.join(map(str, core_list)) \
                           + blank + '-n %d' % self.get_memory_channels() \
@@ -213,6 +214,7 @@ class Dut(Crb):
                 eal_str = '-l ' + ','.join(map(str, core_list)) \
                           + blank + '-n %d' % self.get_memory_channels() \
                           + blank + pci_str
+		self.prefix_list = []
             else:
                 eal_str = '-l ' + ','.join(map(str, core_list)) \
                           + blank + '-n %d' % self.get_memory_channels() \
-- 
1.8.3.1


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

* Re: [dts] [PATCH V1] frmework/dut: clean prefix_list on freebsd
  2019-10-17 11:31 [dts] [PATCH V1] frmework/dut: clean prefix_list on freebsd Xiao Qimai
@ 2019-10-22  9:16 ` Xiao, QimaiX
  2019-10-23  9:27 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xiao, QimaiX @ 2019-10-22  9:16 UTC (permalink / raw)
  To: dts

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

-----Original Message-----
From: Xiao, QimaiX 
Sent: Thursday, October 17, 2019 7:32 PM
To: dts@dpdk.org
Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
Subject: [dts][PATCH V1] frmework/dut: clean prefix_list on freebsd

self.prefix_list need to be wiped on freebsd for kill_all method

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

diff --git a/framework/dut.py b/framework/dut.py index b30506f..54ff28b 100644
--- a/framework/dut.py
+++ b/framework/dut.py
@@ -189,6 +189,7 @@ class Dut(Crb):
                           + blank + b_ports_str \
                           + blank + no_pci \
                           + blank + vdev
+		self.prefix_list = []
             else:
                 eal_str = '-l ' + ','.join(map(str, core_list)) \
                           + blank + '-n %d' % self.get_memory_channels() \ @@ -213,6 +214,7 @@ class Dut(Crb):
                 eal_str = '-l ' + ','.join(map(str, core_list)) \
                           + blank + '-n %d' % self.get_memory_channels() \
                           + blank + pci_str
+		self.prefix_list = []
             else:
                 eal_str = '-l ' + ','.join(map(str, core_list)) \
                           + blank + '-n %d' % self.get_memory_channels() \
--
1.8.3.1


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

* Re: [dts] [PATCH V1] frmework/dut: clean prefix_list on freebsd
  2019-10-17 11:31 [dts] [PATCH V1] frmework/dut: clean prefix_list on freebsd Xiao Qimai
  2019-10-22  9:16 ` Xiao, QimaiX
@ 2019-10-23  9:27 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-10-23  9:27 UTC (permalink / raw)
  To: Xiao, QimaiX, dts; +Cc: Xiao, QimaiX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai
> Sent: Thursday, October 17, 2019 7:32 PM
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: [dts] [PATCH V1] frmework/dut: clean prefix_list on freebsd
> 
> self.prefix_list need to be wiped on freebsd for kill_all method
> 
> Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
> ---
>  framework/dut.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/framework/dut.py b/framework/dut.py index b30506f..54ff28b
> 100644
> --- a/framework/dut.py
> +++ b/framework/dut.py
> @@ -189,6 +189,7 @@ class Dut(Crb):
>                            + blank + b_ports_str \
>                            + blank + no_pci \
>                            + blank + vdev
> +		self.prefix_list = []
>              else:
>                  eal_str = '-l ' + ','.join(map(str, core_list)) \
>                            + blank + '-n %d' % self.get_memory_channels() \ @@ -213,6
> +214,7 @@ class Dut(Crb):
>                  eal_str = '-l ' + ','.join(map(str, core_list)) \
>                            + blank + '-n %d' % self.get_memory_channels() \
>                            + blank + pci_str
> +		self.prefix_list = []
>              else:
>                  eal_str = '-l ' + ','.join(map(str, core_list)) \
>                            + blank + '-n %d' % self.get_memory_channels() \
> --
> 1.8.3.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-10-17 11:31 [dts] [PATCH V1] frmework/dut: clean prefix_list on freebsd Xiao Qimai
2019-10-22  9:16 ` Xiao, QimaiX
2019-10-23  9:27 ` 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