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 3C954A0577; Tue, 7 Apr 2020 12:31:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 08B172B96; Tue, 7 Apr 2020 12:31:53 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id C0D3FFFA for ; Tue, 7 Apr 2020 12:31:50 +0200 (CEST) IronPort-SDR: tCtA4fIG/zxJlK5OX71CBdxuvUZUIm7TQ9fyTWmCDLCjJz6wigtpBj5XcDxtfNW455I9/nbF7d R7bZ++0mB8Lg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2020 03:31:49 -0700 IronPort-SDR: 0a90RseSGOCszmtuzCox8eUVEUl/Q7w2Q62EogmgmLWeUlSfKYMM001Ex4LIrmWHofTQXvbgA9 tZQobbywM8ag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,353,1580803200"; d="scan'208";a="361495832" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga001.fm.intel.com with ESMTP; 07 Apr 2020 03:31:49 -0700 Received: from shsmsx604.ccr.corp.intel.com (10.109.6.214) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 7 Apr 2020 03:31:49 -0700 Received: from shsmsx604.ccr.corp.intel.com (10.109.6.214) by SHSMSX604.ccr.corp.intel.com (10.109.6.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 7 Apr 2020 18:31:46 +0800 Received: from shsmsx604.ccr.corp.intel.com ([10.109.6.214]) by SHSMSX604.ccr.corp.intel.com ([10.109.6.214]) with mapi id 15.01.1713.004; Tue, 7 Apr 2020 18:31:46 +0800 From: "Xiao, QimaiX" To: "dts@dpdk.org" Thread-Topic: [dts][PATCH V1]pvp_vhost_user_reconnect: Mpps should be larger to verify packets receive Thread-Index: AQHWDMXrnio68niqAkOsa6zlL4oV0qhtdd6Q Date: Tue, 7 Apr 2020 10:31:46 +0000 Message-ID: References: <1586254333-336797-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1586254333-336797-1-git-send-email-qimaix.xiao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] 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: Mpps should be larger to verify packets receive 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" Tested-by: Xiao, QimaiX Regards, Xiao Qimai > -----Original Message----- > From: Xiao, QimaiX > Sent: Tuesday, April 7, 2020 6:12 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts][PATCH V1]pvp_vhost_user_reconnect: Mpps should be larger > to verify packets receive >=20 > *. env might receive a few misc packets of size 64 >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_pvp_vhost_user_reconnect.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_pvp_vhost_user_reconnect.py > b/tests/TestSuite_pvp_vhost_user_reconnect.py > index 96ce734..a6f7685 100644 > --- a/tests/TestSuite_pvp_vhost_user_reconnect.py > +++ b/tests/TestSuite_pvp_vhost_user_reconnect.py > @@ -279,7 +279,7 @@ 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 > 0, "can not receive packets of frame size= %d" % > (frame_size)) > + self.verify(Mpps > 5, "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