From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 1FDABDE3 for ; Thu, 24 Jan 2019 02:26:54 +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 orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jan 2019 17:26:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,514,1539673200"; d="scan'208";a="132363273" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 23 Jan 2019 17:26:53 -0800 From: "zhu,shuai" To: dts@dpdk.org Cc: "zhu,shuai" Date: Thu, 24 Jan 2019 09:30:33 +0800 Message-Id: <1548293433-25085-1-git-send-email-shuaix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/ipfrag:Modify the way 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 01:26:55 -0000 Some platforms have a core number less than a fixed value. 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..139917c 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("all") self.verify(cores is not None, "Insufficient cores for speed testing") global P0, P1 -- 2.17.2