test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1 1/2] test_plans/vdev_primary_secondary_test_plan: fix testcase2 app name error issue
@ 2022-04-22  7:59 Wei Ling
  0 siblings, 0 replies; 5+ messages in thread
From: Wei Ling @ 2022-04-22  7:59 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

1)Fix testcase2 app name error issue
2)Change testcase1 `set fwd txonly` to `set fwd mac`
   and change `start` to `start tx_first` to send packets.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 test_plans/vdev_primary_secondary_test_plan.rst | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/test_plans/vdev_primary_secondary_test_plan.rst b/test_plans/vdev_primary_secondary_test_plan.rst
index b98d2d04..cdb71e61 100644
--- a/test_plans/vdev_primary_secondary_test_plan.rst
+++ b/test_plans/vdev_primary_secondary_test_plan.rst
@@ -129,8 +129,6 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test
 1. Bind one port to vfio-pci, launch testpmd by below command::
 
     ./<build_target>/app/dpdk-testpmd -l 1-6 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=2,client=1' --vdev 'net_vhost1,iface=vhost-net1,queues=2,client=1'  -- -i --nb-cores=4 --rxq=2 --txq=2 --txd=1024 --rxd=1024
-    testpmd>set fwd txonly
-    testpmd>start
 
 2. Launch VM with two virtio ports, must set queues=2 as app receive packets from special queue which index same with proc-id::
 
@@ -156,7 +154,12 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test
     ./<build_target>/examples/dpdk-symmetric_mp -l 1 -n 4 --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
     ./<build_target>/examples/dpdk-symmetric_mp -l 2 -n 4 --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
 
-5. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::
+5. Send packets from vhost testpmd::
+
+   testpmd> set fwd mac
+   testpmd> start tx_first
+
+6. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::
 
     Port 0: RX - 27511680, TX - 256, Drop - 27499168
     Port 1: RX - 27499424, TX - 256, Drop - 27511424
@@ -191,7 +194,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test
 
 4. Start sample code as primary process::
 
-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
     example> list
     list all etherdev
     0       0000:00:05.0
@@ -199,7 +202,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test
 
 5. Start sample code as secondary process::
 
-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
     example> list
     list all etherdev
     0       0000:00:05.0
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [dts][PATCH V1 1/2] test_plans/vdev_primary_secondary_test_plan: fix testcase2 app name error issue
@ 2022-04-22  8:17 Wei Ling
  0 siblings, 0 replies; 5+ messages in thread
From: Wei Ling @ 2022-04-22  8:17 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

test_plans/vdev_primary_secondary_test_plan:
  1)Fix testcase2 app name error issue.
  2)Change testcase1 testpmd fwd mode for better case coverage.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 test_plans/vdev_primary_secondary_test_plan.rst | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/test_plans/vdev_primary_secondary_test_plan.rst b/test_plans/vdev_primary_secondary_test_plan.rst
index b98d2d04..cdb71e61 100644
--- a/test_plans/vdev_primary_secondary_test_plan.rst
+++ b/test_plans/vdev_primary_secondary_test_plan.rst
@@ -129,8 +129,6 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test
 1. Bind one port to vfio-pci, launch testpmd by below command::
 
     ./<build_target>/app/dpdk-testpmd -l 1-6 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=2,client=1' --vdev 'net_vhost1,iface=vhost-net1,queues=2,client=1'  -- -i --nb-cores=4 --rxq=2 --txq=2 --txd=1024 --rxd=1024
-    testpmd>set fwd txonly
-    testpmd>start
 
 2. Launch VM with two virtio ports, must set queues=2 as app receive packets from special queue which index same with proc-id::
 
@@ -156,7 +154,12 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test
     ./<build_target>/examples/dpdk-symmetric_mp -l 1 -n 4 --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
     ./<build_target>/examples/dpdk-symmetric_mp -l 2 -n 4 --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
 
-5. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::
+5. Send packets from vhost testpmd::
+
+   testpmd> set fwd mac
+   testpmd> start tx_first
+
+6. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::
 
     Port 0: RX - 27511680, TX - 256, Drop - 27499168
     Port 1: RX - 27499424, TX - 256, Drop - 27511424
@@ -191,7 +194,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test
 
 4. Start sample code as primary process::
 
-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
     example> list
     list all etherdev
     0       0000:00:05.0
@@ -199,7 +202,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test
 
 5. Start sample code as secondary process::
 
-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
     example> list
     list all etherdev
     0       0000:00:05.0
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [dts][PATCH V1 1/2] test_plans/vdev_primary_secondary_test_plan: fix testcase2 app name error issue
@ 2022-04-22  9:11 Wei Ling
  0 siblings, 0 replies; 5+ messages in thread
From: Wei Ling @ 2022-04-22  9:11 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

test_plans/vdev_primary_secondary_test_plan:
  1)Fix testcase2 app name error issue.
  2)Change testcase1 testpmd fwd mode take VM and testpmd can loop the
    traffic.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 test_plans/vdev_primary_secondary_test_plan.rst | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/test_plans/vdev_primary_secondary_test_plan.rst b/test_plans/vdev_primary_secondary_test_plan.rst
index b98d2d04..cdb71e61 100644
--- a/test_plans/vdev_primary_secondary_test_plan.rst
+++ b/test_plans/vdev_primary_secondary_test_plan.rst
@@ -129,8 +129,6 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test
 1. Bind one port to vfio-pci, launch testpmd by below command::
 
     ./<build_target>/app/dpdk-testpmd -l 1-6 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=2,client=1' --vdev 'net_vhost1,iface=vhost-net1,queues=2,client=1'  -- -i --nb-cores=4 --rxq=2 --txq=2 --txd=1024 --rxd=1024
-    testpmd>set fwd txonly
-    testpmd>start
 
 2. Launch VM with two virtio ports, must set queues=2 as app receive packets from special queue which index same with proc-id::
 
@@ -156,7 +154,12 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test
     ./<build_target>/examples/dpdk-symmetric_mp -l 1 -n 4 --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
     ./<build_target>/examples/dpdk-symmetric_mp -l 2 -n 4 --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
 
-5. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::
+5. Send packets from vhost testpmd::
+
+   testpmd> set fwd mac
+   testpmd> start tx_first
+
+6. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::
 
     Port 0: RX - 27511680, TX - 256, Drop - 27499168
     Port 1: RX - 27499424, TX - 256, Drop - 27511424
@@ -191,7 +194,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test
 
 4. Start sample code as primary process::
 
-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
     example> list
     list all etherdev
     0       0000:00:05.0
@@ -199,7 +202,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test
 
 5. Start sample code as secondary process::
 
-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
     example> list
     list all etherdev
     0       0000:00:05.0
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [dts][PATCH V1 1/2] test_plans/vdev_primary_secondary_test_plan: fix testcase2 app name error issue
@ 2022-04-22  9:20 Wei Ling
  0 siblings, 0 replies; 5+ messages in thread
From: Wei Ling @ 2022-04-22  9:20 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

test_plans/vdev_primary_secondary_test_plan:
1)Fix testcase2 app name error issue.
2)Change testcase1 testpmd fwd mode from `set fwd txonly` and `start`
  to `set fwd mac` and `start tx_first` take VM and testpmd can loop the traffic.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 test_plans/vdev_primary_secondary_test_plan.rst | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/test_plans/vdev_primary_secondary_test_plan.rst b/test_plans/vdev_primary_secondary_test_plan.rst
index b98d2d04..cdb71e61 100644
--- a/test_plans/vdev_primary_secondary_test_plan.rst
+++ b/test_plans/vdev_primary_secondary_test_plan.rst
@@ -129,8 +129,6 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test
 1. Bind one port to vfio-pci, launch testpmd by below command::
 
     ./<build_target>/app/dpdk-testpmd -l 1-6 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=2,client=1' --vdev 'net_vhost1,iface=vhost-net1,queues=2,client=1'  -- -i --nb-cores=4 --rxq=2 --txq=2 --txd=1024 --rxd=1024
-    testpmd>set fwd txonly
-    testpmd>start
 
 2. Launch VM with two virtio ports, must set queues=2 as app receive packets from special queue which index same with proc-id::
 
@@ -156,7 +154,12 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test
     ./<build_target>/examples/dpdk-symmetric_mp -l 1 -n 4 --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
     ./<build_target>/examples/dpdk-symmetric_mp -l 2 -n 4 --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
 
-5. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::
+5. Send packets from vhost testpmd::
+
+   testpmd> set fwd mac
+   testpmd> start tx_first
+
+6. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::
 
     Port 0: RX - 27511680, TX - 256, Drop - 27499168
     Port 1: RX - 27499424, TX - 256, Drop - 27511424
@@ -191,7 +194,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test
 
 4. Start sample code as primary process::
 
-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
     example> list
     list all etherdev
     0       0000:00:05.0
@@ -199,7 +202,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test
 
 5. Start sample code as secondary process::
 
-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
     example> list
     list all etherdev
     0       0000:00:05.0
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [dts][PATCH V1 1/2] test_plans/vdev_primary_secondary_test_plan: fix testcase2 app name error issue
@ 2022-04-25  1:57 Wei Ling
  0 siblings, 0 replies; 5+ messages in thread
From: Wei Ling @ 2022-04-25  1:57 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

test_plans/vdev_primary_secondary_test_plan:
1)Fix testcase2 app name error issue.
2)Change testcase1 testpmd fwd mode from `set fwd txonly` and `start`
  to `set fwd mac` and `start tx_first` take VM and testpmd can loop the traffic.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 test_plans/vdev_primary_secondary_test_plan.rst | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/test_plans/vdev_primary_secondary_test_plan.rst b/test_plans/vdev_primary_secondary_test_plan.rst
index b98d2d04..9d11950f 100644
--- a/test_plans/vdev_primary_secondary_test_plan.rst
+++ b/test_plans/vdev_primary_secondary_test_plan.rst
@@ -129,8 +129,6 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test
 1. Bind one port to vfio-pci, launch testpmd by below command::
 
     ./<build_target>/app/dpdk-testpmd -l 1-6 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=2,client=1' --vdev 'net_vhost1,iface=vhost-net1,queues=2,client=1'  -- -i --nb-cores=4 --rxq=2 --txq=2 --txd=1024 --rxd=1024
-    testpmd>set fwd txonly
-    testpmd>start
 
 2. Launch VM with two virtio ports, must set queues=2 as app receive packets from special queue which index same with proc-id::
 
@@ -156,7 +154,12 @@ Test Case 1: Virtio-pmd primary and secondary process symmetric test
     ./<build_target>/examples/dpdk-symmetric_mp -l 1 -n 4 --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
     ./<build_target>/examples/dpdk-symmetric_mp -l 2 -n 4 --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
 
-5. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::
+5. Send packets from vhost testpmd::
+
+    testpmd> set fwd mac
+    testpmd> start tx_first
+
+6. Quit all process, check the packets number in rx/tx statistic like below for both primary process and secondary process::
 
     Port 0: RX - 27511680, TX - 256, Drop - 27499168
     Port 1: RX - 27499424, TX - 256, Drop - 27511424
@@ -191,7 +194,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test
 
 4. Start sample code as primary process::
 
-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=auto -- -p 3 --num-procs=2 --proc-id=0
     example> list
     list all etherdev
     0       0000:00:05.0
@@ -199,7 +202,7 @@ Test Case 2: Virtio-pmd primary and secondary process hotplug test
 
 5. Start sample code as secondary process::
 
-    ./<build_target>/examples/dpdk-symmetric_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
+    ./<build_target>/examples/dpdk-hotplug_mp --proc-type=secondary -- -p 3 --num-procs=2 --proc-id=1
     example> list
     list all etherdev
     0       0000:00:05.0
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-25  1:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22  7:59 [dts][PATCH V1 1/2] test_plans/vdev_primary_secondary_test_plan: fix testcase2 app name error issue Wei Ling
2022-04-22  8:17 Wei Ling
2022-04-22  9:11 Wei Ling
2022-04-22  9:20 Wei Ling
2022-04-25  1:57 Wei Ling

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git