From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3D8F9A317C for ; Thu, 17 Oct 2019 13:33:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 050D11E4E8; Thu, 17 Oct 2019 13:33:32 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 8E8BF1C13A for ; Thu, 17 Oct 2019 13:33:30 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Oct 2019 04:33:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,307,1566889200"; d="scan'208";a="279851230" Received: from unknown (HELO dpdk-xiaoqimai-tester.sh.intel.com) ([10.240.179.35]) by orsmga001.jf.intel.com with ESMTP; 17 Oct 2019 04:33:20 -0700 From: Xiao Qimai To: dts@dpdk.org Cc: Xiao Qimai Date: Thu, 17 Oct 2019 07:31:30 -0400 Message-Id: <1571311890-97896-1-git-send-email-qimaix.xiao@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1] frmework/dut: clean prefix_list on freebsd X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" self.prefix_list need to be wiped on freebsd for kill_all method Signed-off-by: Xiao Qimai --- 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