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 5533EA058A; Fri, 17 Apr 2020 11:06:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4954D1DEAB; Fri, 17 Apr 2020 11:06:49 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 781761DB41 for ; Fri, 17 Apr 2020 11:06:47 +0200 (CEST) IronPort-SDR: M2Mr7i88XDCKxfm+KbOcQyuvwaMZ7sLWGB7eeuMZ2GkgYpae6bU1UaHQMv8a/StV46Je2jmim6 7FfWDZ+6ylIg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2020 02:06:46 -0700 IronPort-SDR: WJpSluwz0RnhvSdrwoBjkCVQSv51j8Xttb7B18sk8+lqsi/rAj0u85SBDZzP/geb9r/uIahk9U 4fpMnkkx8OhA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,394,1580803200"; d="scan'208";a="364275619" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga001.fm.intel.com with ESMTP; 17 Apr 2020 02:06:46 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 02:06:45 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 17 Apr 2020 02:06:45 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.214]) with mapi id 14.03.0439.000; Fri, 17 Apr 2020 17:06:43 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]pvp_vhost_user_reconnect: Mpps should be larger to verify packets receive Thread-Index: AQHWDMXgBnb0lp92tUal0w//B6K7oah9FXGA Date: Fri, 17 Apr 2020 09:06:41 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0BED7@SHSMSX101.ccr.corp.intel.com> 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: 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: 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai > 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