[v1] test_plans/vhost_cbdma_test_plan.rst

Message ID 20210302152207.47345-1-yinan.wang@intel.com (mailing list archive)
State Accepted
Headers
Series [v1] test_plans/vhost_cbdma_test_plan.rst |

Commit Message

Wang, Yinan March 2, 2021, 3:22 p.m. UTC
  1. Change test traffic to imix packets for better case coverage.
2. Update normal path to vectorized path for better case coverage.

Signed-off-by: Yinan Wang <yinan.wang@intel.com>
---
 test_plans/vhost_cbdma_test_plan.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
  

Comments

Tu, Lijuan March 3, 2021, 5:16 a.m. UTC | #1
> 1. Change test traffic to imix packets for better case coverage.
> 2. Update normal path to vectorized path for better case coverage.
> 
> Signed-off-by: Yinan Wang <yinan.wang@intel.com>

Applied, thanks
  

Patch

diff --git a/test_plans/vhost_cbdma_test_plan.rst b/test_plans/vhost_cbdma_test_plan.rst
index bbfa22c1..a1ceda74 100644
--- a/test_plans/vhost_cbdma_test_plan.rst
+++ b/test_plans/vhost_cbdma_test_plan.rst
@@ -86,7 +86,7 @@  TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG
     >set fwd mac
     >start
 
-3. Send packets with packet size [64,1518] from packet generator, check the throughput can get expected data, restart vhost port, then check throughput again::
+3. Send imix packets [64,1518] from packet generator, check the throughput can get expected data, restart vhost port, then check throughput again::
 
     testpmd>show port stats all
     testpmd>stop
@@ -158,11 +158,11 @@  Test Case2: Dynamic queue number test for DMA-accelerated vhost Tx operations
     testpmd>start
     testpmd>show port stats all
 
-6. Relaunch virtio-user with 2 queues::
+6. Relaunch virtio-user with vectorized path and 2 queues::
 
     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 30-31 --no-pci --file-prefix=virtio \
-    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=1,in_order=1,queues=2,server=1 \
-    -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024 --txq=2 --rxq=2
+    --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=/tmp/s0,mrg_rxbuf=0,in_order=1,vectorized=1,queues=2,server=1 \
+    -- -i --nb-cores=1 --txd=1024 --rxd=1024 --txq=2 --rxq=2
     >set fwd mac
     >start