From: Yinan <yinan.wang@intel.com>
To: dts@dpdk.org
Cc: Wang Yinan <yinan.wang@intel.com>
Subject: [dts] [PATCH v1] tests: update test commonds for vectorized cases in TestSuite_loopback_multi_queues.py
Date: Wed, 29 Apr 2020 22:19:21 +0000 [thread overview]
Message-ID: <20200429221921.28021-1-yinan.wang@intel.com> (raw)
From: Wang Yinan <yinan.wang@intel.com>
Signed-off-by: Wang Yinan <yinan.wang@intel.com>
---
tests/TestSuite_loopback_multi_queues.py | 28 +++++++++++++++++++-----
1 file changed, 23 insertions(+), 5 deletions(-)
diff --git a/tests/TestSuite_loopback_multi_queues.py b/tests/TestSuite_loopback_multi_queues.py
index 174ce01..029c1f0 100644
--- a/tests/TestSuite_loopback_multi_queues.py
+++ b/tests/TestSuite_loopback_multi_queues.py
@@ -48,7 +48,7 @@ class TestLoopbackMultiQueues(TestCase):
"""
Run at the start of each test suite.
"""
- self.frame_sizes = [64, 128, 256, 512, 1024, 1518]
+ self.frame_sizes = [64, 1518]
self.verify_queue = [1, 8]
self.dut_ports = self.dut.get_ports()
port_socket = self.dut.get_numa_id(self.dut_ports[0])
@@ -283,7 +283,7 @@ class TestLoopbackMultiQueues(TestCase):
"""
performance for Vhost PVP Normal Path.
"""
- virtio_pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0",
+ virtio_pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0,vectorized=1",
"path": "--enable-hw-vlan-strip"}
for i in self.verify_queue:
self.nb_cores = i
@@ -301,7 +301,7 @@ class TestLoopbackMultiQueues(TestCase):
"""
performance for Vhost PVP Vector_RX Path
"""
- virtio_pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0",
+ virtio_pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0,vectorized=1",
"path": ""}
for i in self.verify_queue:
self.nb_cores = i
@@ -337,8 +337,26 @@ class TestLoopbackMultiQueues(TestCase):
"""
performance for Vhost PVP Vector_RX Path
"""
- virtio_pmd_arg = {"version": "packed_vq=1,mrg_rxbuf=0,in_order=1",
- "path": ""}
+ virtio_pmd_arg = {"version": "packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1",
+ "path": "--rx-offloads=0x10 --enable-hw-vlan-strip "}
+ for i in self.verify_queue:
+ self.nb_cores = i
+ self.queue_number = i
+ self.get_core_mask()
+ self.start_vhost_testpmd()
+ self.start_virtio_testpmd(virtio_pmd_arg)
+ self.send_and_verify("virtio 1.1 inorder non-mergeable")
+ self.close_all_testpmd()
+
+ self.result_table_print()
+ self.verify_liner_for_multi_queue()
+
+ def test_loopback_with_virtio11_vectorized_path_multi_queue(self):
+ """
+ performance for Vhost PVP Vector_RX Path
+ """
+ virtio_pmd_arg = {"version": "packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1",
+ "path": "--enable-hw-vlan-strip "}
for i in self.verify_queue:
self.nb_cores = i
self.queue_number = i
--
2.17.1
next reply other threads:[~2020-04-30 5:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-29 22:19 Yinan [this message]
2020-05-06 3:26 ` 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=20200429221921.28021-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).