From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id C7214A05D3 for ; Wed, 27 Mar 2019 15:32:34 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8715A5F1A; Wed, 27 Mar 2019 15:32:34 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 26BEB5F19 for ; Wed, 27 Mar 2019 15:32:32 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Mar 2019 07:32:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,277,1549958400"; d="scan'208";a="129116006" Received: from compression-clc.sh.intel.com ([10.67.110.166]) by orsmga008.jf.intel.com with ESMTP; 27 Mar 2019 07:32:30 -0700 From: Zhe To: dts@dpdk.org Cc: Zhe Wan Date: Wed, 27 Mar 2019 18:22:39 -0400 Message-Id: <1553725359-164342-1-git-send-email-zhe.wan@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V2] test_plans/distributor: test plan revise X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" From: Zhe Wan Signed-off-by: Zhe Wan --- 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