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 7A1CFA0583; Fri, 20 Mar 2020 09:23:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 528642BBE; Fri, 20 Mar 2020 09:23:24 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 67EDE2BB9 for ; Fri, 20 Mar 2020 09:23:22 +0100 (CET) IronPort-SDR: SeHwC15vG1/lip3eb/G5f7Cwb7VxnjbiV7YHyV3MheOQUjFcMJwBiC9Ba9JRPLNnI9f+U8eJ4x /XeusrwJMBcw== 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; 20 Mar 2020 01:23:21 -0700 IronPort-SDR: bxxQGLYfDpQoMsYVw3U+ccwu5I+km7mkdj17Miz5rfTd7GSao9/nh+O4gHB9BYfDkmYJWWLdgR G1kHr+c06slw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,283,1580803200"; d="scan'208";a="239167570" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga008.jf.intel.com with ESMTP; 20 Mar 2020 01:23:20 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 20 Mar 2020 01:23:20 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 20 Mar 2020 01:23:20 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.232]) with mapi id 14.03.0439.000; Fri, 20 Mar 2020 16:23:18 +0800 From: "Tu, Lijuan" To: "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] tests/nic_single_core_perf: add workaround for cvl io forward Thread-Index: AQHV/Oa3p2AX5+T9WEiPuj0z0bKj5KhRJ83w Date: Fri, 20 Mar 2020 08:23:17 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBEFBAB@SHSMSX101.ccr.corp.intel.com> References: <1584538750-77462-1-git-send-email-lijuan.tu@intel.com> In-Reply-To: <1584538750-77462-1-git-send-email-lijuan.tu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Applied, thanks > -----Original Message----- > From: Tu, Lijuan > Sent: Wednesday, March 18, 2020 9:39 PM > To: dts@dpdk.org > Cc: Tu, Lijuan > Subject: [dts] [PATCH V1] tests/nic_single_core_perf: add workaround for = cvl > io forward >=20 > * fix txq/rxq setting for cvl > * add workaround for cvl that can't forward packets in io forward mode >=20 > Signed-off-by: Lijuan Tu > --- > tests/TestSuite_nic_single_core_perf.py | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > 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 +=3D " --rxq=3D2 --txq=3D2" > # columbiaville use one queue per port for best performance. > elif self.nic in ["columbiaville_100g", "columbiaville_25g"]: > - param +=3D " --rxq=3D%d --rxq=3D%d" % (port_num, port_num) > + param +=3D " --rxq=3D1 --txq=3D1" > + # workaround for that testpmd can't forward packets in io fo= rward > mode > + param +=3D " --port-topology=3Dloop" >=20 > for frame_size in list(self.test_parameters.keys()): > self.throughput[frame_size] =3D dict() > -- > 1.8.3.1