test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] test_plans/loopback_multi_queues: add new case description
@ 2023-01-06  6:22 Dukai Yuan
  0 siblings, 0 replies; only message in thread
From: Dukai Yuan @ 2023-01-06  6:22 UTC (permalink / raw)
  To: dts; +Cc: Dukai Yuan

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 3066 bytes --]

Add new case virtio11 vectorized path and ring size is not power of 2 multi queue.

Signed-off-by: Dukai Yuan <dukaix.yuan@intel.com>
---
 .../loopback_multi_queues_test_plan.rst       | 60 +++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/test_plans/loopback_multi_queues_test_plan.rst b/test_plans/loopback_multi_queues_test_plan.rst
index 61f95699..f8645cb1 100644
--- a/test_plans/loopback_multi_queues_test_plan.rst
+++ b/test_plans/loopback_multi_queues_test_plan.rst
@@ -607,3 +607,63 @@ Test Case 10: loopback with virtio 1.1 vectorized path using 1 queue and 8 queue
 9. Get throughput 10 times and calculate the average throughput,check the throughput of 8 queues is eight times of 1 queue::
 
     testpmd>show port stats all
+
+Test Case 11: loopback with virtio 1.1 vectorized path and ring size is not power of 2 using 1 queue and 8 queues
+=================================================================================================================
+
+1. Launch testpmd by below command::
+
+    rm -rf vhost-net*
+    ./<build_target>/app/dpdk-testpmd -l 1-2 -n 4 --no-pci \
+    --vdev 'eth_vhost0,iface=vhost-net,queues=1' -- \
+    -i --nb-cores=1 --txd=1024 --rxd=1024
+    testpmd>set fwd mac
+
+2. Launch virtio-user by below command::
+
+    ./<build_target>/app/dpdk-testpmd -n 4 -l 5-6 \
+    --no-pci --file-prefix=virtio --force-max-simd-bitwidth=512 \
+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=1,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=1025 \
+    -- -i --nb-cores=1 --txd=1025 --rxd=1025
+    testpmd>set fwd mac
+    testpmd>start
+
+3. Send packets with vhost-testpmd,[frame_size] is the parameter changs in [64, 128, 256, 512, 1024, 1518]::
+
+    testpmd>set txpkts [frame_size]
+    testpmd>start tx_first 32
+
+4. Get throughput 10 times and calculate the average throughput::
+
+    testpmd>show port stats all
+
+5. Check each RX/TX queue has packets, then quit testpmd::
+
+    testpmd>stop
+    testpmd>quit
+
+6. Launch testpmd by below command::
+
+    rm -rf vhost-net*
+    ./<build_target>/app/dpdk-testpmd -l 1-9 -n 4 --no-pci \
+    --vdev 'eth_vhost0,iface=vhost-net,queues=8' -- \
+    -i --nb-cores=8 --rxq=8 --txq=8 --txd=1024 --rxd=1024
+    testpmd>set fwd mac
+
+7. Launch virtio-user by below command::
+
+    ./<build_target>/app/dpdk-testpmd -n 4 -l 10-18 \
+    --no-pci --file-prefix=virtio --force-max-simd-bitwidth=512 \
+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=8,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=1025 \
+    -- -i --nb-cores=8 --rxq=8 --txq=8 --txd=1025 --rxd=1025
+    testpmd>set fwd mac
+    testpmd>start
+
+8. Send packets with vhost-testpmd,[frame_size] is the parameter changs in [64, 128, 256, 512, 1024, 1518]::
+
+    testpmd>set txpkts [frame_size]
+    testpmd>start tx_first 32
+
+9. Get throughput 10 times and calculate the average throughput,check the throughput of 8 queues is eight times of 1 queue::
+
+    testpmd>show port stats all
-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-06  6:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-06  6:22 [dts][PATCH V1] test_plans/loopback_multi_queues: add new case description Dukai Yuan

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).