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 BFB3E1150 for ; Thu, 24 Jan 2019 06:37:45 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jan 2019 21:37:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,514,1539673200"; d="scan'208";a="140843977" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 23 Jan 2019 21:37:43 -0800 From: "zhu,shuai" To: dts@dpdk.org Cc: "zhu,shuai" Date: Thu, 24 Jan 2019 13:41:22 +0800 Message-Id: <1548308482-28604-1-git-send-email-shuaix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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 05:37:46 -0000 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 3a9ffb8..9f47a2c 100644 --- a/tests/TestSuite_ipfrag.py +++ b/tests/TestSuite_ipfrag.py @@ -92,7 +92,7 @@ class TestIpfrag(TestCase): self.ports_socket = self.dut.get_numa_id(ports[0]) # Verify that enough threads are available - cores = self.dut.get_core_list("2S/2C/2T") + cores = self.dut.get_core_list("1S/1C/1T") self.verify(cores is not None, "Insufficient cores for speed testing") global P0, P1 -- 2.17.2