[dts] [PATCH V1] frmework/dut: clean prefix_list on freebsd

Xiao Qimai qimaix.xiao at intel.com
Thu Oct 17 13:31:30 CEST 2019


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

Signed-off-by: Xiao Qimai <qimaix.xiao at 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



More information about the dts mailing list