From patchwork Fri Aug 26 05:55:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 115454 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E0892A0552; Fri, 26 Aug 2022 07:55:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0EFE40A80; Fri, 26 Aug 2022 07:55:34 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 04CBA40143 for ; Fri, 26 Aug 2022 07:55:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661493333; x=1693029333; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lqslWJKdt6o2WflH+iy4n8dAsDo5+yVXqK5Lah53jIA=; b=G2zTXA8aeYOoNGKiIdWDtahqfZK0jzWa1fWLQKLjyhaqYDxIUKXwPenJ s5vRtxNClYnkoRsZ1md4UzH9JNmKBoOb/3mp0fDpheCHjFjBw53i2jJtS +ZAI0TzdXc4rI3k+kvX2FG0N6mVBu/QL2U+DHGoNAz2OoYN93OoH+2zvw 8jKqS62WoJhkyRRSqVhSX2GhJrTh0g1DjOJx+J6vFDG7A8COSNtxzpf3F ly7qMhHW2Rj8rgug8OXYn4FMVeXzuJFShXwtySRUDvLzIqq0AKSy4NFPa 2bJcnf9oSjfJ236fpYnH2CPthe9T35C1plvFgET2uPw4mXSGvkQu6DQaC Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10450"; a="277445894" X-IronPort-AV: E=Sophos;i="5.93,264,1654585200"; d="scan'208";a="277445894" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2022 22:55:32 -0700 X-IronPort-AV: E=Sophos;i="5.93,264,1654585200"; d="scan'208";a="643539061" Received: from unknown (HELO localhost.localdomain) ([10.239.252.248]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2022 22:55:31 -0700 From: Weiyuan Li To: dts@dpdk.org Cc: Weiyuan Li Subject: [dts][PATCH V1 2/2] tests/tso: optimzie the script code Date: Fri, 26 Aug 2022 13:55:40 +0800 Message-Id: <20220826055540.19911-2-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220826055540.19911-1-weiyuanx.li@intel.com> References: <20220826055540.19911-1-weiyuanx.li@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 The optimization script code is modified from "1S/1C/2T" to "1S/2C/1T". Signed-off-by: Weiyuan Li Acked-by: Lijuan Tu --- tests/TestSuite_tso.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py index 8e128d50..281af374 100644 --- a/tests/TestSuite_tso.py +++ b/tests/TestSuite_tso.py @@ -51,7 +51,7 @@ class TestTSO(TestCase): self.table_header.append("% linerate") self.eal_param = self.dut.create_eal_parameters( - cores="1S/1C/2T", socket=self.ports_socket, ports=self.dut_ports + cores="1S/2C/1T", socket=self.ports_socket, ports=self.dut_ports ) self.headers_size = HEADER_SIZE["eth"] + HEADER_SIZE["ip"] + HEADER_SIZE["tcp"]