test suite reviews and discussions
 help / color / mirror / 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, other threads:[~2019-10-23  9:27 UTC | newest]

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

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