From: Zhe <zhe.wan@intel.com>
To: dts@dpdk.org
Cc: Zhe Wan <zhe.wan@intel.com>
Subject: [dts] [PATCH V2] test_plans/distributor: test plan revise
Date: Wed, 27 Mar 2019 18:22:39 -0400 [thread overview]
Message-ID: <1553725359-164342-1-git-send-email-zhe.wan@intel.com> (raw)
From: Zhe Wan <zhe.wan@intel.com>
Signed-off-by: Zhe Wan <zhe.wan@intel.com>
---
test_plans/distributor_test_plan.rst | 42 +++---------------------------------
1 file changed, 3 insertions(+), 39 deletions(-)
diff --git a/test_plans/distributor_test_plan.rst b/test_plans/distributor_test_plan.rst
index 106936d..24b0519 100644
--- a/test_plans/distributor_test_plan.rst
+++ b/test_plans/distributor_test_plan.rst
@@ -53,7 +53,7 @@ Test Case: Distributor unit test
================================
Start test application and run distributor unit test::
- test -c f -n 4 -- -i
+ ./x86_64-native-linuxapp-gcc/app/test -c f -n 4
RTE>>distributor_autotest
Verify burst distributor API unit test passed
@@ -62,47 +62,13 @@ Test Case: Distributor performance unit test
============================================
Start test application and run distributor unit test::
- test -c f -n 4 -- -i
+ ./x86_64-native-linuxapp-gcc/app/test -c f -n 4
RTE>>distributor_perf_autotest
Compared CPU cycles for normal distributor and burst API
Verify burst distributor API cost much less cycles then normal version
-Test Case: Distributor packet check
-===================================
-Start distributor sample with one worker::
-
- distributor_app -c 0x7c -n 4 -- -p 0x1
-
-Send few packets (less then burst size) with sequence index which indicated in
-ip dst address
-
-Check forwarded packets are all in sequence and content not changed
-
-Send packets equal to burst size with sequence index
-
-Check forwarded packets are all in sequence and content not changed
-
-Send packets over burst size with sequence index
-
-Check forwarded packets are all in sequence and content not changed
-
-Test Case: Distributor with workers
-===================================
-Start distributor sample with two workers::
-
- distributor_app -c 0xfc -n 4 -- -p 0x1
-
-Send several packets with ip address increasing
-
-Check packets distributed to different workers
-
-Check all packets have been sent back from tx lcore
-
-Repeat step 1 to step4 with 4(3fc)/8(3ffc)/16(0x3ffffc)/32(0xffff0003ffffc)
-workers
-
Test case: Distribute with maximum workers
==========================================
Start distributor sample with 63(0xeffffffffffffffff0) workers
@@ -117,7 +83,7 @@ Test Case: Distributor with multiple input ports
================================================
Start distributor sample with two workers and two ports::
- distributor_app -c 0x7c -n 4 -- -p 0x3
+ ./examples/distributor/build/distributor_app -c 0x7c -n 4 -- -p 0x3
Send packets with sequence indicated in udp port id
@@ -151,5 +117,3 @@ for each action in lcores as listed in the table below::
+----+---------+--------+---------+--------+---------+--------+---------+--------+---------+--------+---------+--------+---------+
| 7 | 32 | | | | | | | | | | | | |
+----+---------+--------+---------+--------+---------+--------+---------+--------+---------+--------+---------+--------+---------+
- | 8 | 63 | | | | | | | | | | | | |
- +----+---------+--------+---------+--------+---------+--------+---------+--------+---------+--------+---------+--------+---------+
--
1.8.3.1
next reply other threads:[~2019-03-27 14:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-27 22:22 Zhe [this message]
2019-04-03 17:16 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1553725359-164342-1-git-send-email-zhe.wan@intel.com \
--to=zhe.wan@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).