[V1,1/2] test_plans/virtio_user_as_exceptional_path_test_plan: modify testplan by DPDK changed

Message ID 20221116020121.609503-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series modify virtio_user_as_exceptional_path testplan |

Commit Message

Ling, WeiX Nov. 16, 2022, 2:01 a.m. UTC
  As DPDK commit 236bc417(app/testpmd: fix MAC header in checksum
forward engine),need to add `csum mac-swap off <port_id>` steps
in testplan.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 test_plans/virtio_user_as_exceptional_path_test_plan.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
  

Patch

diff --git a/test_plans/virtio_user_as_exceptional_path_test_plan.rst b/test_plans/virtio_user_as_exceptional_path_test_plan.rst
index 81399ea2..a002b5b7 100644
--- a/test_plans/virtio_user_as_exceptional_path_test_plan.rst
+++ b/test_plans/virtio_user_as_exceptional_path_test_plan.rst
@@ -32,6 +32,8 @@  Flow:tap0-->vhost-net-->virtio_user-->nic0-->nic1
     ./<build_target>/app/dpdk-testpmd -c 0xc0000 -n 4 --file-prefix=test2 \
     --vdev=virtio_user0,mac=00:01:02:03:04:05,path=/dev/vhost-net,queue_size=1024 -- -i --rxd=1024 --txd=1024
     testpmd>set fwd csum
+    testpmd>csum mac-swap off 0
+    testpmd>csum mac-swap off 1
     testpmd>stop
     testpmd>port stop 0
     testpmd>port stop 1
@@ -128,4 +130,4 @@  Flow: tap0<-->vhost-net<-->virtio_user<-->nic0<-->TG
 
 6. Bind vhost-net kthread with logical core: firstly check process by "ps -ef|grep vhost", check vhost-net kthread by "ps -T xxxx", for multiple queues, there are multiple vhost kthreads, then bind the pids to different logical cores at the same socket as the nic port by taskset.
 
-7. Try different line rate with ixia to find a point that rx_throughput=tx_throughput, for example if using ninatic 10G nic, the balance line rate is about 5 (should be double of case 2).
\ No newline at end of file
+7. Try different line rate with ixia to find a point that rx_throughput=tx_throughput, for example if using ninatic 10G nic, the balance line rate is about 5 (should be double of case 2).