* [dts] [PATCH v1] tests: update test commonds for vectorized cases in TestSuite_loopback_multi_queues.py
@ 2020-04-29 22:19 Yinan
2020-05-06 3:26 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Yinan @ 2020-04-29 22:19 UTC (permalink / raw)
To: dts; +Cc: Wang Yinan
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH v1] tests: update test commonds for vectorized cases in TestSuite_loopback_multi_queues.py
2020-04-29 22:19 [dts] [PATCH v1] tests: update test commonds for vectorized cases in TestSuite_loopback_multi_queues.py Yinan
@ 2020-05-06 3:26 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-05-06 3:26 UTC (permalink / raw)
To: Wang, Yinan, dts; +Cc: Wang, Yinan
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Yinan
> Sent: Thursday, April 30, 2020 6:19 AM
> 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
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-06 3:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 22:19 [dts] [PATCH v1] tests: update test commonds for vectorized cases in TestSuite_loopback_multi_queues.py Yinan
2020-05-06 3:26 ` Tu, Lijuan
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).