From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id BB332271 for ; Thu, 24 Jan 2019 09:18:07 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jan 2019 00:18:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,515,1539673200"; d="scan'208";a="132639719" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 24 Jan 2019 00:18:06 -0800 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 24 Jan 2019 00:18:05 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 24 Jan 2019 00:18:05 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.196]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.71]) with mapi id 14.03.0415.000; Thu, 24 Jan 2019 16:18:03 +0800 From: "Wu, ChangqingX" To: "Zhu, ShuaiX" , "dts@dpdk.org" CC: "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V2] tests/ipfrag:Modify the value to get the core. Thread-Index: AQHUs6b9B+TO5bhm/kiwG7KTiZOb2qW+E1Ow Date: Thu, 24 Jan 2019 08:18:02 +0000 Message-ID: <7F81DD3887C58F49A6B2EFEC3C28E22E0B6917EC@SHSMSX101.ccr.corp.intel.com> References: <1548308482-28604-1-git-send-email-shuaix.zhu@intel.com> In-Reply-To: <1548308482-28604-1-git-send-email-shuaix.zhu@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 V2] tests/ipfrag:Modify the value to get the core. 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: , X-List-Received-Date: Thu, 24 Jan 2019 08:18:08 -0000 Tested-by: Wu, ChangqingX -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai Sent: Thursday, January 24, 2019 1:41 PM To: dts@dpdk.org Cc: Zhu, ShuaiX Subject: [dts] [PATCH V2] tests/ipfrag:Modify the value to get the core. Some platforms have only one socket, so use the minimum core number. Signed-off-by: zhu,shuai --- tests/TestSuite_ipfrag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_ipfrag.py b/tests/TestSuite_ipfrag.py index 3a= 9ffb8..9f47a2c 100644 --- a/tests/TestSuite_ipfrag.py +++ b/tests/TestSuite_ipfrag.py @@ -92,7 +92,7 @@ class TestIpfrag(TestCase): self.ports_socket =3D self.dut.get_numa_id(ports[0]) =20 # Verify that enough threads are available - cores =3D self.dut.get_core_list("2S/2C/2T") + cores =3D self.dut.get_core_list("1S/1C/1T") self.verify(cores is not None, "Insufficient cores for speed testi= ng") =20 global P0, P1 -- 2.17.2