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 6FEE2A0579; Wed, 18 Mar 2020 06:33:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 352221C025; Wed, 18 Mar 2020 06:33:10 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id AF7F11B203 for ; Wed, 18 Mar 2020 06:33:07 +0100 (CET) IronPort-SDR: kAjqpFA6kHsEtwLjlxM5TJhVcR16kD+rajQPT9ySlV+H+ypkJ/H8A+I0ic2PAEx/nOw4JyM/As tcV+i2Dx5RMg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2020 22:33:05 -0700 IronPort-SDR: Pij2V+aWcPEyWCVbAiiRoquU0FgDGkCg40Oi5FFYCAAUw/LdyhbIqZBEU7DtcNFcMeR+Rl90vu x6iD+Atuhqmw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,566,1574150400"; d="scan'208";a="238503624" Received: from unknown (HELO dpdk-lijuan.sh.intel.com) ([10.67.119.192]) by orsmga008.jf.intel.com with ESMTP; 17 Mar 2020 22:33:04 -0700 From: Lijuan Tu To: dts@dpdk.org Cc: Lijuan Tu Date: Wed, 18 Mar 2020 21:39:10 +0800 Message-Id: <1584538750-77462-1-git-send-email-lijuan.tu@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1] tests/nic_single_core_perf: add workaround for cvl io forward 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" * fix txq/rxq setting for cvl * add workaround for cvl that can't forward packets in io forward mode Signed-off-by: Lijuan Tu --- tests/TestSuite_nic_single_core_perf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py index 48a0d8a..b4d82c1 100644 --- a/tests/TestSuite_nic_single_core_perf.py +++ b/tests/TestSuite_nic_single_core_perf.py @@ -231,7 +231,9 @@ class TestNicSingleCorePerf(TestCase): param += " --rxq=2 --txq=2" # columbiaville use one queue per port for best performance. elif self.nic in ["columbiaville_100g", "columbiaville_25g"]: - param += " --rxq=%d --rxq=%d" % (port_num, port_num) + param += " --rxq=1 --txq=1" + # workaround for that testpmd can't forward packets in io forward mode + param += " --port-topology=loop" for frame_size in list(self.test_parameters.keys()): self.throughput[frame_size] = dict() -- 1.8.3.1