From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 0D891288C for ; Fri, 25 Jan 2019 06:24:16 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jan 2019 21:24:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,519,1539673200"; d="scan'208";a="121179421" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga003.jf.intel.com with ESMTP; 24 Jan 2019 21:24:16 -0800 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 24 Jan 2019 21:24:15 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 24 Jan 2019 21:24:15 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.110]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.102]) with mapi id 14.03.0415.000; Fri, 25 Jan 2019 13:24:13 +0800 From: "Tu, Lijuan" 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: AQHUs6b9ldPgwS23gE2vpNpfCdtbuqW/dRLA Date: Fri, 25 Jan 2019 05:24:12 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA19356@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: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTcxZTk5NDUtYjg2ZS00NTY3LTliMDctNmU3MGFlYjVmNzU2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTlBlN0NXdWpzZnQ5bEFsbkttQ21MQlprN0V3MlwvSUt2eTZMSmtySSt5aW5LbE91S1ROWDJUQlUyWWlMcTcxYTYifQ== 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: Fri, 25 Jan 2019 05:24:17 -0000 Applied, thanks > -----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. >=20 > Some platforms have only one socket, so use the minimum core number. >=20 > Signed-off-by: zhu,shuai > --- > tests/TestSuite_ipfrag.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_ipfrag.py b/tests/TestSuite_ipfrag.py index > 3a9ffb8..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 tes= ting") >=20 > global P0, P1 > -- > 2.17.2