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 F3C56A04EF; Mon, 25 May 2020 10:08:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BDB261D6F2; Mon, 25 May 2020 10:08:57 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id D28341D688 for ; Mon, 25 May 2020 10:08:55 +0200 (CEST) IronPort-SDR: RKdFHIjw/1T7jJUmYtNJktASqq0qAa02cxUMvKStQVUwkSvvfRHBMKSPOCXVMynr39OqDyK5Vs 8Q0W0xfG7gtg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2020 01:08:54 -0700 IronPort-SDR: /caCBwcFv0E+8cEgZGogU5pO6bOAZl6+gKaU1J3iqJY/IZHEVnTm0vYcrjKjwpMLnrKSogtApZ GxNITES2AZ6A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,432,1583222400"; d="scan'208";a="413441861" Received: from dpdk-yinan-purley.sh.intel.com ([10.67.116.150]) by orsmga004.jf.intel.com with ESMTP; 25 May 2020 01:08:53 -0700 From: Yinan To: dts@dpdk.org Cc: Wang Yinan Date: Mon, 25 May 2020 01:02:37 +0000 Message-Id: <20200525010237.66586-1-yinan.wang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [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" From: Wang Yinan Signed-off-by: Wang Yinan --- tests/TestSuite_vhost_dequeue_zero_copy.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 = self.big_pkt_record['dequeue-zero-copy=0'] self.verify(value_with_zero_copy != 0 and value_without_zero_copy != 0, 'can not get the value of big pkts, please check self.frame_sizes') - self.verify(value_with_zero_copy - value_without_zero_copy >= value_with_zero_copy*0.1, + self.verify(value_with_zero_copy - value_without_zero_copy >= value_with_zero_copy*0.05, 'the drop with dequeue-zero-copy=0 is not as expected') def close_all_testpmd_and_vm(self): @@ -447,7 +447,7 @@ class TestVhostDequeueZeroCopy(TestCase): self.nb_cores = 4 self.queue_number = 16 self.prepare_test_evn(vhost_txfreet_mode='normal', vhost_zero_copy=True, - vhost_client_mode=True, vm_testpmd_fwd_mode='rxonly', packed_mode=False) + vhost_client_mode=False, vm_testpmd_fwd_mode='rxonly', packed_mode=False) self.send_and_verify_throughput(cycle="before relaunch", fwd_mode="rxonly") # relaunch testpmd at virtio side in VM for driver reloading @@ -462,7 +462,7 @@ class TestVhostDequeueZeroCopy(TestCase): self.nb_cores = 4 self.queue_number = 16 self.prepare_test_evn(vhost_txfreet_mode='normal', vhost_zero_copy=True, - vhost_client_mode=True, vm_testpmd_fwd_mode='rxonly', packed_mode=True) + vhost_client_mode=False, vm_testpmd_fwd_mode='rxonly', packed_mode=True) self.send_and_verify_throughput(cycle="before relaunch", fwd_mode="rxonly") # relaunch testpmd at virtio side in VM for driver reloading @@ -477,7 +477,7 @@ class TestVhostDequeueZeroCopy(TestCase): self.nb_cores = 4 self.queue_number = 16 self.prepare_test_evn(vhost_txfreet_mode='maximum', vhost_zero_copy=True, - vhost_client_mode=True, vm_testpmd_fwd_mode='mac', packed_mode=False) + vhost_client_mode=False, vm_testpmd_fwd_mode='mac', packed_mode=False) self.send_and_verify_throughput(cycle='dequeue-zero-copy=1') self.result_table_print() -- 2.17.1