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 396AFA00C2; Thu, 23 Apr 2020 07:53:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 312141D40D; Thu, 23 Apr 2020 07:53:18 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1BA861C293 for ; Thu, 23 Apr 2020 07:53:16 +0200 (CEST) IronPort-SDR: MrbAlZF5hr2SWMW28ZW20IB/QWnlwlLi3IC2hexhsYGA08GfxcieZsBJb+reXxBMGDTUIqfCm+ iuq42nLO1glQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 22:53:17 -0700 IronPort-SDR: VM1iX/JoS2TTP3+iDFs6JFkyoYi+LpoFdnl04707IPfhWqxv4VIfCncr6HDVsLhoBHss7JrhYv ehKP65Kr/+jA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,305,1583222400"; d="scan'208";a="274124675" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 22 Apr 2020 22:53:16 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 22:53:00 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 22:53:00 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.146]) with mapi id 14.03.0439.000; Thu, 23 Apr 2020 13:52:58 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]pvp_vhost_user_reconnect: big packets mpps should bigger than 1 Thread-Index: AQHWGHyiylKBVRLDYk62SB0AZ0PlDqiGNeWQ Date: Thu, 23 Apr 2020 05:52:57 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0F1E5@SHSMSX101.ccr.corp.intel.com> References: <1587542240-390122-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1587542240-390122-1-git-send-email-qimaix.xiao@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]pvp_vhost_user_reconnect: big packets mpps should bigger than 1 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: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai > Sent: Wednesday, April 22, 2020 3:57 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V1]pvp_vhost_user_reconnect: big packets mpps > should bigger than 1 >=20 > *. speed of small packets should be larger than 5mpps, big packets largge= r > than 1mpps >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_pvp_vhost_user_reconnect.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_pvp_vhost_user_reconnect.py > b/tests/TestSuite_pvp_vhost_user_reconnect.py > index a6f7685..0dc2327 100644 > --- a/tests/TestSuite_pvp_vhost_user_reconnect.py > +++ b/tests/TestSuite_pvp_vhost_user_reconnect.py > @@ -279,7 +279,8 @@ class TestPVPVhostUserReconnect(TestCase): > traffic_opt =3D {'delay': 30, } > _, pps =3D self.tester.pktgen.measure_throughput(stream_ids= =3Dstreams, > options=3Dtraffic_opt) > Mpps =3D pps / 1000000.0 > - self.verify(Mpps > 5, "can not receive packets of frame size= %d" % > (frame_size)) > + check_speed =3D 5 if frame_size =3D=3D 64 else 1 > + self.verify(Mpps > check_speed, "can not receive packets of = frame > size %d" % (frame_size)) > pct =3D Mpps * 100 / \ > float(self.wirespeed(self.nic, frame_size, 1)) > if cycle =3D=3D 0: > -- > 1.8.3.1