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 6D8DBA328D for ; Tue, 22 Oct 2019 11:16:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4065D1BE9B; Tue, 22 Oct 2019 11:16:14 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E06954C90 for ; Tue, 22 Oct 2019 11:16:11 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Oct 2019 02:16:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,326,1566889200"; d="scan'208";a="348999584" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga004.jf.intel.com with ESMTP; 22 Oct 2019 02:16:10 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 22 Oct 2019 02:16:10 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.165]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.166]) with mapi id 14.03.0439.000; Tue, 22 Oct 2019 17:16:08 +0800 From: "Xiao, QimaiX" To: "dts@dpdk.org" Thread-Topic: [dts][PATCH V1] frmework/dut: clean prefix_list on freebsd Thread-Index: AQHVhN6vm4ugnWHvZUWQcchjV8ZnZKdmaMQQ Date: Tue, 22 Oct 2019 09:16:07 +0000 Message-ID: <5C5FA1EBCC0D164EAD0302E258A5234B75EF4A@SHSMSX103.ccr.corp.intel.com> References: <1571311890-97896-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1571311890-97896-1-git-send-email-qimaix.xiao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Tested-by: Xiao Qimai -----Original Message----- From: Xiao, QimaiX=20 Sent: Thursday, October 17, 2019 7:32 PM To: dts@dpdk.org Cc: Xiao, QimaiX 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 --- framework/dut.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/dut.py b/framework/dut.py index b30506f..54ff28b 100= 644 --- 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 =3D [] else: eal_str =3D '-l ' + ','.join(map(str, core_list)) \ + blank + '-n %d' % self.get_memory_channels() \= @@ -213,6 +214,7 @@ class Dut(Crb): eal_str =3D '-l ' + ','.join(map(str, core_list)) \ + blank + '-n %d' % self.get_memory_channels() \ + blank + pci_str + self.prefix_list =3D [] else: eal_str =3D '-l ' + ','.join(map(str, core_list)) \ + blank + '-n %d' % self.get_memory_channels() \ -- 1.8.3.1