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

Xiao, QimaiX qimaix.xiao at intel.com
Tue Oct 22 11:16:07 CEST 2019


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

-----Original Message-----
From: Xiao, QimaiX 
Sent: Thursday, October 17, 2019 7:32 PM
To: dts at dpdk.org
Cc: Xiao, QimaiX <qimaix.xiao at 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 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