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 7A593A04EF; Mon, 1 Jun 2020 05:13:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 64EC91D414; Mon, 1 Jun 2020 05:13:04 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 6E3CA1C1E1 for ; Mon, 1 Jun 2020 05:13:01 +0200 (CEST) IronPort-SDR: 1Ap5FX/opF2aT0tasmM+JHWVQbptL/ADI95gP0GqFm8JZm7B2ZrwcpK0KIHpRETRO6F+YJG1TK a8OZ1oHwFXHw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2020 20:13:01 -0700 IronPort-SDR: Z6z+q9GR8wnd+Sz5WaDmOS2ueAiF50bDgzJ9J90CyfRxyT2fbZyozSWy0XBBfnb/elUvwhknyi BC345Ca20MtQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,459,1583222400"; d="scan'208";a="268179680" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 31 May 2020 20:13:00 -0700 Received: from fmsmsx161.amr.corp.intel.com (10.18.125.9) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 31 May 2020 20:13:00 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX161.amr.corp.intel.com (10.18.125.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 31 May 2020 20:13:00 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.85]) by SHSMSX103.ccr.corp.intel.com ([10.239.4.69]) with mapi id 14.03.0439.000; Mon, 1 Jun 2020 11:12:57 +0800 From: "Tu, Lijuan" To: "Wang, Yinan" , "dts@dpdk.org" CC: "Wang, Yinan" Thread-Topic: [dts] [PATCH v1] tests: turn off server mode option since dpdk code change in TestSuite_vhost_dequeue_zero_copy.py Thread-Index: AQHWMmvN1d3TMcSIXEyXc+X2N3Cjx6jDIDuw Date: Mon, 1 Jun 2020 03:12:56 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC565ED@SHSMSX101.ccr.corp.intel.com> References: <20200525010237.66586-1-yinan.wang@intel.com> In-Reply-To: <20200525010237.66586-1-yinan.wang@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: turn off server mode option since dpdk code change in TestSuite_vhost_dequeue_zero_copy.py 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 Yinan > Sent: Monday, May 25, 2020 9:03 AM > To: dts@dpdk.org > Cc: Wang, Yinan > Subject: [dts] [PATCH v1] tests: turn off server mode option since dpdk c= ode > change in TestSuite_vhost_dequeue_zero_copy.py >=20 > From: Wang Yinan >=20 > Signed-off-by: Wang Yinan > --- > tests/TestSuite_vhost_dequeue_zero_copy.py | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/tests/TestSuite_vhost_dequeue_zero_copy.py > b/tests/TestSuite_vhost_dequeue_zero_copy.py > index 8fca47a..500204b 100644 > --- a/tests/TestSuite_vhost_dequeue_zero_copy.py > +++ b/tests/TestSuite_vhost_dequeue_zero_copy.py > @@ -363,7 +363,7 @@ class TestVhostDequeueZeroCopy(TestCase): > value_without_zero_copy =3D self.big_pkt_record['dequeue-zer= o- > copy=3D0'] > self.verify(value_with_zero_copy !=3D 0 and value_without_zero_c= opy !=3D 0, > 'can not get the value of big pkts, please check self.fr= ame_sizes') > - self.verify(value_with_zero_copy - value_without_zero_copy >=3D > value_with_zero_copy*0.1, > + self.verify(value_with_zero_copy - value_without_zero_copy >=3D > + value_with_zero_copy*0.05, > 'the drop with dequeue-zero-copy=3D0 is not as expected'= ) >=20 > def close_all_testpmd_and_vm(self): > @@ -447,7 +447,7 @@ class TestVhostDequeueZeroCopy(TestCase): > self.nb_cores =3D 4 > self.queue_number =3D 16 > self.prepare_test_evn(vhost_txfreet_mode=3D'normal', > vhost_zero_copy=3DTrue, > - vhost_client_mode=3DTrue, vm_testpmd_fwd_mode=3D'rxo= nly', > packed_mode=3DFalse) > + vhost_client_mode=3DFalse, > + vm_testpmd_fwd_mode=3D'rxonly', packed_mode=3DFalse) > self.send_and_verify_throughput(cycle=3D"before relaunch", > fwd_mode=3D"rxonly") >=20 > # relaunch testpmd at virtio side in VM for driver reloading @@ = -462,7 > +462,7 @@ class TestVhostDequeueZeroCopy(TestCase): > self.nb_cores =3D 4 > self.queue_number =3D 16 > self.prepare_test_evn(vhost_txfreet_mode=3D'normal', > vhost_zero_copy=3DTrue, > - vhost_client_mode=3DTrue, vm_testpmd_fwd_mode=3D'rxo= nly', > packed_mode=3DTrue) > + vhost_client_mode=3DFalse, > + vm_testpmd_fwd_mode=3D'rxonly', packed_mode=3DTrue) > self.send_and_verify_throughput(cycle=3D"before relaunch", > fwd_mode=3D"rxonly") >=20 > # relaunch testpmd at virtio side in VM for driver reloading @@ = -477,7 > +477,7 @@ class TestVhostDequeueZeroCopy(TestCase): > self.nb_cores =3D 4 > self.queue_number =3D 16 > self.prepare_test_evn(vhost_txfreet_mode=3D'maximum', > vhost_zero_copy=3DTrue, > - vhost_client_mode=3DTrue, vm_testpmd_fwd_mode=3D'mac= ', > packed_mode=3DFalse) > + vhost_client_mode=3DFalse, vm_testpmd_fwd_mode=3D'ma= c', > + packed_mode=3DFalse) > self.send_and_verify_throughput(cycle=3D'dequeue-zero-copy=3D1') > self.result_table_print() >=20 > -- > 2.17.1