test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] update test_plan to synchronize with code
@ 2020-09-03  8:32 Zhou, Jun
  0 siblings, 0 replies; 5+ messages in thread
From: Zhou, Jun @ 2020-09-03  8:32 UTC (permalink / raw)
  To: dts; +Cc: Zhou jun

From: Zhou jun <junx.w.zhou@intel.com>

modify distributor/external_mempool_handler/vf_jumboframe testplan to synchronize with code

Signed-off-by: Zhou jun <junx.w.zhou@intel.com>
---
 test_plans/distributor_test_plan.rst              |  4 ++++
 test_plans/external_mempool_handler_test_plan.rst | 25 ++++++++++++++++++-----
 test_plans/vf_jumboframe_test_plan.rst            |  4 ++++
 3 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/test_plans/distributor_test_plan.rst b/test_plans/distributor_test_plan.rst
index 7af496a..bc27985 100644
--- a/test_plans/distributor_test_plan.rst
+++ b/test_plans/distributor_test_plan.rst
@@ -71,6 +71,10 @@ Verify burst distributor API cost much less cycles then normal version
 
 Test case: Distribute with maximum workers
 ==========================================
+In order to make more queue as worker, let a core receive and a core send::
+
+           sed -i -e 's/.*txRings = .*/\\tconst uint16_t rxRings = 1, txRings = 1;/' ./examples/distributor/main.c
+
 Start distributor sample with 63(0xeffffffffffffffff0) workers
 
 Send several packets with ip address increasing
diff --git a/test_plans/external_mempool_handler_test_plan.rst b/test_plans/external_mempool_handler_test_plan.rst
index be53272..09ed4ca 100644
--- a/test_plans/external_mempool_handler_test_plan.rst
+++ b/test_plans/external_mempool_handler_test_plan.rst
@@ -42,7 +42,10 @@ systems and software based memory allocators to be used with DPDK.
 Test Case 1: Multiple producers and multiple consumers
 ======================================================
 
-1. Change default mempool handler operations to "ring_mp_mc"
+1. Change default mempool handler operations to "ring_mp_mc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_mp_mc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -60,7 +63,10 @@ Test Case 1: Multiple producers and multiple consumers
 Test Case 2: Single producer and Single consumer
 ================================================
 
-1. Change default mempool operation to "ring_sp_sc"
+1. Change default mempool operation to "ring_sp_sc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_sp_sc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -78,7 +84,10 @@ Test Case 2: Single producer and Single consumer
 Test Case 3: Single producer and Multiple consumers
 ===================================================
 
-1. Change default mempool operation to "ring_sp_mc"
+1. Change default mempool operation to "ring_sp_mc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_sp_mc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -96,7 +105,10 @@ Test Case 3: Single producer and Multiple consumers
 Test Case 4: Multiple producers and single consumer
 ===================================================
 
-1. Change default mempool operation to "ring_mp_sc"
+1. Change default mempool operation to "ring_mp_sc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_mp_sc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -114,7 +126,10 @@ Test Case 4: Multiple producers and single consumer
 Test Case 4: Stack mempool handler
 ==================================
 
-1. Change default mempool operation to "stack"
+1. Change default mempool operation to "stack"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"stack\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
diff --git a/test_plans/vf_jumboframe_test_plan.rst b/test_plans/vf_jumboframe_test_plan.rst
index 2f4cae3..6f8f8b6 100644
--- a/test_plans/vf_jumboframe_test_plan.rst
+++ b/test_plans/vf_jumboframe_test_plan.rst
@@ -107,6 +107,10 @@ Testing the support of Jumbo Frames in Poll Mode Drivers consists in
 configuring the maximum packet length with a value greater than 1518, and in
 sending to the test machine packets with the following lengths (CRC included):
 
+when driver is ixgbe, turn on the jumbo_frame switch::
+
+    sed -i -e 's/.jumbo_frame    = .*$/.jumbo_frame = 1,/g' app/test-pmd/testpmd.c
+
 #. packet length = 1518 - 1
 
 #. packet length = 1518
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [dts] [PATCH V1] update test_plan to synchronize with code
@ 2020-09-03  8:52 Zhou, Jun
  0 siblings, 0 replies; 5+ messages in thread
From: Zhou, Jun @ 2020-09-03  8:52 UTC (permalink / raw)
  To: dts; +Cc: Zhou jun

From: Zhou jun <junx.w.zhou@intel.com>

modify distributor/external_mempool_handler/vf_jumboframe testplan to synchronize with code

Signed-off-by: Zhou jun <junx.w.zhou@intel.com>
---
 test_plans/distributor_test_plan.rst              |  4 ++++
 test_plans/external_mempool_handler_test_plan.rst | 25 ++++++++++++++++++-----
 test_plans/vf_jumboframe_test_plan.rst            |  4 ++++
 3 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/test_plans/distributor_test_plan.rst b/test_plans/distributor_test_plan.rst
index 7af496a..bc27985 100644
--- a/test_plans/distributor_test_plan.rst
+++ b/test_plans/distributor_test_plan.rst
@@ -71,6 +71,10 @@ Verify burst distributor API cost much less cycles then normal version
 
 Test case: Distribute with maximum workers
 ==========================================
+In order to make more queue as worker, let a core receive and a core send::
+
+           sed -i -e 's/.*txRings = .*/\\tconst uint16_t rxRings = 1, txRings = 1;/' ./examples/distributor/main.c
+
 Start distributor sample with 63(0xeffffffffffffffff0) workers
 
 Send several packets with ip address increasing
diff --git a/test_plans/external_mempool_handler_test_plan.rst b/test_plans/external_mempool_handler_test_plan.rst
index be53272..09ed4ca 100644
--- a/test_plans/external_mempool_handler_test_plan.rst
+++ b/test_plans/external_mempool_handler_test_plan.rst
@@ -42,7 +42,10 @@ systems and software based memory allocators to be used with DPDK.
 Test Case 1: Multiple producers and multiple consumers
 ======================================================
 
-1. Change default mempool handler operations to "ring_mp_mc"
+1. Change default mempool handler operations to "ring_mp_mc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_mp_mc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -60,7 +63,10 @@ Test Case 1: Multiple producers and multiple consumers
 Test Case 2: Single producer and Single consumer
 ================================================
 
-1. Change default mempool operation to "ring_sp_sc"
+1. Change default mempool operation to "ring_sp_sc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_sp_sc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -78,7 +84,10 @@ Test Case 2: Single producer and Single consumer
 Test Case 3: Single producer and Multiple consumers
 ===================================================
 
-1. Change default mempool operation to "ring_sp_mc"
+1. Change default mempool operation to "ring_sp_mc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_sp_mc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -96,7 +105,10 @@ Test Case 3: Single producer and Multiple consumers
 Test Case 4: Multiple producers and single consumer
 ===================================================
 
-1. Change default mempool operation to "ring_mp_sc"
+1. Change default mempool operation to "ring_mp_sc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_mp_sc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -114,7 +126,10 @@ Test Case 4: Multiple producers and single consumer
 Test Case 4: Stack mempool handler
 ==================================
 
-1. Change default mempool operation to "stack"
+1. Change default mempool operation to "stack"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"stack\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
diff --git a/test_plans/vf_jumboframe_test_plan.rst b/test_plans/vf_jumboframe_test_plan.rst
index 2f4cae3..6f8f8b6 100644
--- a/test_plans/vf_jumboframe_test_plan.rst
+++ b/test_plans/vf_jumboframe_test_plan.rst
@@ -107,6 +107,10 @@ Testing the support of Jumbo Frames in Poll Mode Drivers consists in
 configuring the maximum packet length with a value greater than 1518, and in
 sending to the test machine packets with the following lengths (CRC included):
 
+when driver is ixgbe, turn on the jumbo_frame switch::
+
+    sed -i -e 's/.jumbo_frame    = .*$/.jumbo_frame = 1,/g' app/test-pmd/testpmd.c
+
 #. packet length = 1518 - 1
 
 #. packet length = 1518
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [dts] [PATCH V1] update test_plan to synchronize with code
@ 2020-09-03  8:54 Zhou, Jun
  2020-09-03 10:24 ` Zhou, JunX W
  2020-09-15  2:52 ` Tu, Lijuan
  0 siblings, 2 replies; 5+ messages in thread
From: Zhou, Jun @ 2020-09-03  8:54 UTC (permalink / raw)
  To: dts; +Cc: Zhou jun

From: Zhou jun <junx.w.zhou@intel.com>

modify distributor/external_mempool_handler/vf_jumboframe testplan to synchronize with code

Signed-off-by: Zhou jun <junx.w.zhou@intel.com>
---
 test_plans/distributor_test_plan.rst              |  4 ++++
 test_plans/external_mempool_handler_test_plan.rst | 25 ++++++++++++++++++-----
 test_plans/vf_jumboframe_test_plan.rst            |  4 ++++
 3 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/test_plans/distributor_test_plan.rst b/test_plans/distributor_test_plan.rst
index 7af496a..bc27985 100644
--- a/test_plans/distributor_test_plan.rst
+++ b/test_plans/distributor_test_plan.rst
@@ -71,6 +71,10 @@ Verify burst distributor API cost much less cycles then normal version
 
 Test case: Distribute with maximum workers
 ==========================================
+In order to make more queue as worker, let a core receive and a core send::
+
+           sed -i -e 's/.*txRings = .*/\\tconst uint16_t rxRings = 1, txRings = 1;/' ./examples/distributor/main.c
+
 Start distributor sample with 63(0xeffffffffffffffff0) workers
 
 Send several packets with ip address increasing
diff --git a/test_plans/external_mempool_handler_test_plan.rst b/test_plans/external_mempool_handler_test_plan.rst
index be53272..09ed4ca 100644
--- a/test_plans/external_mempool_handler_test_plan.rst
+++ b/test_plans/external_mempool_handler_test_plan.rst
@@ -42,7 +42,10 @@ systems and software based memory allocators to be used with DPDK.
 Test Case 1: Multiple producers and multiple consumers
 ======================================================
 
-1. Change default mempool handler operations to "ring_mp_mc"
+1. Change default mempool handler operations to "ring_mp_mc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_mp_mc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -60,7 +63,10 @@ Test Case 1: Multiple producers and multiple consumers
 Test Case 2: Single producer and Single consumer
 ================================================
 
-1. Change default mempool operation to "ring_sp_sc"
+1. Change default mempool operation to "ring_sp_sc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_sp_sc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -78,7 +84,10 @@ Test Case 2: Single producer and Single consumer
 Test Case 3: Single producer and Multiple consumers
 ===================================================
 
-1. Change default mempool operation to "ring_sp_mc"
+1. Change default mempool operation to "ring_sp_mc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_sp_mc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -96,7 +105,10 @@ Test Case 3: Single producer and Multiple consumers
 Test Case 4: Multiple producers and single consumer
 ===================================================
 
-1. Change default mempool operation to "ring_mp_sc"
+1. Change default mempool operation to "ring_mp_sc"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"ring_mp_sc\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
@@ -114,7 +126,10 @@ Test Case 4: Multiple producers and single consumer
 Test Case 4: Stack mempool handler
 ==================================
 
-1. Change default mempool operation to "stack"
+1. Change default mempool operation to "stack"::
+
+      sed -i 's/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=.*$/CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS=\"stack\"/' ./config/common_base
+
 2. Start test app and verify mempool autotest passed::
 
       test -n 4 -c f
diff --git a/test_plans/vf_jumboframe_test_plan.rst b/test_plans/vf_jumboframe_test_plan.rst
index 2f4cae3..6f8f8b6 100644
--- a/test_plans/vf_jumboframe_test_plan.rst
+++ b/test_plans/vf_jumboframe_test_plan.rst
@@ -107,6 +107,10 @@ Testing the support of Jumbo Frames in Poll Mode Drivers consists in
 configuring the maximum packet length with a value greater than 1518, and in
 sending to the test machine packets with the following lengths (CRC included):
 
+when driver is ixgbe, turn on the jumbo_frame switch::
+
+    sed -i -e 's/.jumbo_frame    = .*$/.jumbo_frame = 1,/g' app/test-pmd/testpmd.c
+
 #. packet length = 1518 - 1
 
 #. packet length = 1518
-- 
1.8.3.1


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

end of thread, other threads:[~2020-09-15  2:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03  8:32 [dts] [PATCH V1] update test_plan to synchronize with code Zhou, Jun
2020-09-03  8:52 Zhou, Jun
2020-09-03  8:54 Zhou, Jun
2020-09-03 10:24 ` Zhou, JunX W
2020-09-15  2:52 ` 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).