test suite reviews and discussions
 help / color / mirror / Atom feed
From: Yinan <yinan.wang@intel.com>
To: dts@dpdk.org
Cc: Wang Yinan <yinan.wang@intel.com>
Subject: [dts] [PATCH v1] tests: turn off server mode option since dpdk code change in TestSuite_vhost_dequeue_zero_copy.py
Date: Mon, 25 May 2020 01:02:37 +0000	[thread overview]
Message-ID: <20200525010237.66586-1-yinan.wang@intel.com> (raw)

From: Wang Yinan <yinan.wang@intel.com>

Signed-off-by: Wang Yinan <yinan.wang@intel.com>
---
 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


             reply	other threads:[~2020-05-25  8:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-25  1:02 Yinan [this message]
2020-06-01  3:12 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200525010237.66586-1-yinan.wang@intel.com \
    --to=yinan.wang@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).