From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C10F5A0527; Wed, 25 Nov 2020 07:35:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B772AC962; Wed, 25 Nov 2020 07:34:59 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 28A1DC95A for ; Wed, 25 Nov 2020 07:34:58 +0100 (CET) IronPort-SDR: unN3NtmDHr4U5OSgB0oORZdPE22mernrrASOEckL/6Z11u82iKaP9/Wux630Zqa5rlu7MSLI9z lhcUOxrlH3Wg== X-IronPort-AV: E=McAfee;i="6000,8403,9815"; a="171296909" X-IronPort-AV: E=Sophos;i="5.78,368,1599548400"; d="scan'208";a="171296909" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2020 22:34:57 -0800 IronPort-SDR: B4+j2DhdYEKLU1eEAy6SULwnxhG3kBaxq67Iqzp4bZp5cP2/wpTp+3fVRAQZjMLfNsRFmLGF/G kGSKbzBzeElA== X-IronPort-AV: E=Sophos;i="5.78,368,1599548400"; d="scan'208";a="312844604" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2020 22:34:56 -0800 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 25 Nov 2020 22:29:28 +0800 Message-Id: <20201125142930.77045-4-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201125142930.77045-1-weix.ling@intel.com> References: <20201125142930.77045-1-weix.ling@intel.com> Subject: [dts] [PATCH V2 3/5] tests/nic_single_core_perf:support columbiaville_25gx2 nic 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" support columbiaville_25gx2 nic Signed-off-by: lingwei --- tests/TestSuite_nic_single_core_perf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py index eb42fb30..8266506b 100644 --- a/tests/TestSuite_nic_single_core_perf.py +++ b/tests/TestSuite_nic_single_core_perf.py @@ -53,7 +53,7 @@ class TestNicSingleCorePerf(TestCase): PMD prerequisites. """ self.verify(self.nic in ['niantic', 'fortville_25g', 'fortville_spirit', 'ConnectX5_MT4121', - 'ConnectX4_LX_MT4117', 'columbiaville_100g', 'columbiaville_25g'], + 'ConnectX4_LX_MT4117', 'columbiaville_100g', 'columbiaville_25g', 'columbiaville_25gx2'], "Not required NIC ") self.headers_size = HEADER_SIZE['eth'] + HEADER_SIZE['ip'] @@ -62,7 +62,7 @@ class TestNicSingleCorePerf(TestCase): # Update DPDK config file and rebuild to get best perf on fortville if self.nic in ["fortville_25g", "fortville_spirit"]: self.dut.set_build_options({'RTE_LIBRTE_I40E_16BYTE_RX_DESC': self.rx_desc}) - elif self.nic in ["columbiaville_100g", "columbiaville_25g"]: + elif self.nic in ["columbiaville_100g", "columbiaville_25g", "columbiaville_25gx2"]: self.dut.set_build_options({'RTE_LIBRTE_ICE_16BYTE_RX_DESC': self.rx_desc}) self.dut.build_install_dpdk(self.target) @@ -240,7 +240,7 @@ class TestNicSingleCorePerf(TestCase): if self.nic in ["fortville_25g", "fortville_spirit"] or thread_num == 2: param += " --rxq=2 --txq=2" # columbiaville use one queue per port for best performance. - elif self.nic in ["columbiaville_100g", "columbiaville_25g"]: + elif self.nic in ["columbiaville_100g", "columbiaville_25g", "columbiaville_25gx2"]: param += " --rxq=1 --txq=1" # workaround for that testpmd can't forward packets in io forward mode param += " --port-topology=loop" @@ -396,7 +396,7 @@ class TestNicSingleCorePerf(TestCase): self.rx_desc = 'n' if self.nic in ["fortville_25g", "fortville_spirit"]: self.dut.set_build_options({'RTE_LIBRTE_I40E_16BYTE_RX_DESC': self.rx_desc}) - elif self.nic in ["columbiaville_100g", "columbiaville_25g"]: + elif self.nic in ["columbiaville_100g", "columbiaville_25g", "columbiaville_25gx2"]: self.dut.set_build_options({'RTE_LIBRTE_ICE_16BYTE_RX_DESC': self.rx_desc}) self.dut.build_install_dpdk(self.target) self.dut.kill_all() -- 2.17.1