From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0963DA04DD; Tue, 26 Nov 2019 08:17:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E8BB32B88; Tue, 26 Nov 2019 08:17:37 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id AED68235 for ; Tue, 26 Nov 2019 08:17:36 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Nov 2019 23:17:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,244,1571727600"; d="scan'208";a="217101200" Received: from npg-dpdk-stv-wanzhe-compression-clc.sh.intel.com ([10.67.119.120]) by fmsmga001.fm.intel.com with ESMTP; 25 Nov 2019 23:17:35 -0800 From: Zhe To: dts@dpdk.org Cc: Zhe Wan Date: Tue, 26 Nov 2019 09:59:41 -0500 Message-Id: <1574780381-72031-1-git-send-email-zhe.wan@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1] test_plans: add test cases for compressdev_zlib_pmd 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/compressdev_zlib_pmd_test_plan.rst | 42 +++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/test_plans/compressdev_zlib_pmd_test_plan.rst b/test_plans/compressdev_zlib_pmd_test_plan.rst index b7284e4..b52c6f4 100644 --- a/test_plans/compressdev_zlib_pmd_test_plan.rst +++ b/test_plans/compressdev_zlib_pmd_test_plan.rst @@ -65,14 +65,50 @@ Start test application and run zlib pmd unit test:: Verify all test cases passed in the test. -Test Case: Compressdev ZLIB PMD test ---------------------------------------------------------- +Test Case: Compressdev ZLIB PMD fixed function test +------------------------------------------------------------- Run Compressdev zlib pmd test with below sample commands:: ./app/dpdk-test-compress-perf -w vdev_bus_id -l 4 \ --vdev=compress_zlib -- --driver-name compress_zlib --input-file file_name \ --compress-level level --num-iter number --huffman-enc fixed -Perform the test with huffman-enc fixed and dynamic accordingly. +Perform the test with fixed huffman-enc. Test all the file types in calgary corpus, all files should pass the test. + +Test Case: Compressdev ZLIB PMD dynamic function test +------------------------------------------------------------- +Run Compressdev zlib pmd test with below sample commands:: + + ./app/dpdk-test-compress-perf -w vdev_bus_id -l 4 \ + --vdev=compress_zlib -- --driver-name compress_zlib --input-file file_name \ + --compress-level level --num-iter number --huffman-enc dynamic + +Perform the test with dynamic huffman-enc. + +Test all the file types in calgary corpus, all files should pass the test. + +Test Case: Compressdev ZLIB PMD fixed performance test +---------------------------------------------------------------------------- +Run Compressdev zlib pmd performance test with below sample commands:: + + ./app/dpdk-test-compress-perf -w vdev_bus_id -l 4 \ + --vdev=compress_zlib -- --driver-name compress_zlib --input-file file_name \ + --compress-level level --seg-sz size --num-iter number --huffman-enc fixed + +Perform the test with fixed huffman-enc and calgary file. + +Run the test with seg-sz 1k, 2k, 4k, 8k, 16k and 32k respectively. + +Test Case: Compressdev ZLIB PMD dynamic performance test +--------------------------------------------------------------------------- +Run Compressdev zlib pmd performance test with below sample commands:: + + ./app/dpdk-test-compress-perf -w vdev_bus_id -l 4 \ + --vdev=compress_zlib -- --driver-name compress_zlib --input-file file_name \ + --compress-level level --seg-sz size --num-iter number --huffman-enc dynamic + +Perform the test with dynamic huffman-enc and calgary file. + +Run the test with seg-sz 1k, 2k, 4k, 8k, 16k and 32k respectively. -- 1.8.3.1