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 12657A054F; Tue, 18 Feb 2020 08:09:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 07E141C1B1; Tue, 18 Feb 2020 08:09:46 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 599931C19B for ; Tue, 18 Feb 2020 08:09:44 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Feb 2020 23:09:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,455,1574150400"; d="scan'208";a="433997329" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga005.fm.intel.com with ESMTP; 17 Feb 2020 23:09:42 -0800 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 17 Feb 2020 23:09:43 -0800 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 17 Feb 2020 23:09:42 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.222]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.225]) with mapi id 14.03.0439.000; Tue, 18 Feb 2020 15:09:41 +0800 From: "Tu, Lijuan" To: "Zhao, HaiyangX" , "dts@dpdk.org" CC: "Zhao, HaiyangX" Thread-Topic: [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:optimize code Thread-Index: AQHV5hM15tGa22VkCkewY2D4eS+5LKggiJZQ Date: Tue, 18 Feb 2020 07:09:40 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBCB570@SHSMSX101.ccr.corp.intel.com> References: <20200218042246.2994-1-haiyangx.zhao@intel.com> <20200218042246.2994-3-haiyangx.zhao@intel.com> In-Reply-To: <20200218042246.2994-3-haiyangx.zhao@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action 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] tests/vhost_virtio_pmd_interrupt:optimize code 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Haiyang Zhao > Sent: Tuesday, February 18, 2020 12:23 PM > To: dts@dpdk.org > Cc: Zhao, HaiyangX > Subject: [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:optimize code >=20 > *.In some test env, the function get_core_list return cores > not as much as we expected, so use all. >=20 > Signed-off-by: Haiyang Zhao > --- > tests/TestSuite_vhost_virtio_pmd_interrupt.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py > b/tests/TestSuite_vhost_virtio_pmd_interrupt.py > index 6a76bb2..bf97a91 100644 > --- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py > +++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py > @@ -91,7 +91,7 @@ class TestVhostVirtioPmdInterrupt(TestCase): > self.verify(self.cores_num >=3D (self.nb_cores + 1), > "There has not enough cores to running case: %s" % > self.running_case) > - self.core_list =3D self.dut.get_core_list(core_config, > + self.core_list =3D self.dut.get_core_list('all', > socket=3Dself.ports_socket) >=20 > def prepare_vm_env(self): > -- > 2.17.1