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 21BE7A04C1; Tue, 26 Nov 2019 08:42:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BDB092A5D; Tue, 26 Nov 2019 08:42:57 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4897C235 for ; Tue, 26 Nov 2019 08:42:56 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Nov 2019 23:42:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,244,1571727600"; d="scan'208";a="239833799" Received: from npg-dpdk-stv-wanzhe-compression-clc.sh.intel.com ([10.67.119.120]) by fmsmga002.fm.intel.com with ESMTP; 25 Nov 2019 23:42:54 -0800 From: Zhe To: dts@dpdk.org Cc: Zhe Wan Date: Tue, 26 Nov 2019 10:25:01 -0500 Message-Id: <1574781901-72423-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_qat_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_qat_pmd_test_plan.rst | 120 ++++++++++++++++++++++++++- 1 file changed, 117 insertions(+), 3 deletions(-) diff --git a/test_plans/compressdev_qat_pmd_test_plan.rst b/test_plans/compressdev_qat_pmd_test_plan.rst index 1fea1dc..a286d2c 100644 --- a/test_plans/compressdev_qat_pmd_test_plan.rst +++ b/test_plans/compressdev_qat_pmd_test_plan.rst @@ -69,14 +69,128 @@ Start test application and run qat pmd unit test:: Verify all test cases passed in the test. -Test Case: Compressdev QAT PMD test ---------------------------------------------------------- +Test Case: Compressdev QAT PMD fixed function test +---------------------------------------------------------------------- Run Compressdev qat pmd test with below sample commands:: ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ -- --driver-name compress_qat --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 QAT PMD dynamic function test +----------------------------------------------------------------------- +Run Compressdev qat pmd test with below sample commands:: + + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ + -- --driver-name compress_qat --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 QAT PMD big sgl fixed function test +-------------------------------------------------------------------------- +Run Compressdev qat pmd test with below sample commands:: + + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ + -- --driver-name compress_qat --input-file file_name --seg-sz segsize \ + --compress-level level --num-iter number --extended-input-sz size \ + --max-num-sgl-segs seg --huffman-enc fixed + +Perform the test with big max-num-sgl-segs and fixed huffman-enc. + +Test all the file types in calgary corpus, all files should pass the test. + +Test Case: Compressdev QAT PMD big sgl dynamic function test +-------------------------------------------------------------------------- +Run Compressdev qat pmd test with below sample commands:: + + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ + -- --driver-name compress_qat --input-file file_name --seg-sz segsize \ + --compress-level level --num-iter number --extended-input-sz size \ + --max-num-sgl-segs seg --huffman-enc dynamic + +Perform the test with big max-num-sgl-segs and dynamic huffman-enc. + +Test all the file types in calgary corpus, all files should pass the test. + +Test Case: Compressdev QAT PMD big seg-sz fixed function test +-------------------------------------------------------------------------- +Run Compressdev qat pmd test with below sample commands:: + + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ + -- --driver-name compress_qat --input-file file_name --seg-sz segsize \ + --compress-level level --num-iter number --extended-input-sz size \ + --max-num-sgl-segs seg --huffman-enc fixed + +Perform the test with big seg-sz and fixed huffman-enc. + +Test all the file types in calgary corpus, all files should pass the test. + +Test Case: Compressdev QAT PMD big seg-sz dynamic function test +--------------------------------------------------------------------------- +Run Compressdev qat pmd test with below sample commands:: + + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ + -- --driver-name compress_qat --input-file file_name --seg-sz segsize \ + --compress-level level --num-iter number --extended-input-sz size \ + --max-num-sgl-segs seg --huffman-enc dynamic + +Perform the test with big seg-sz and dynamic huffman-enc. + +Test all the file types in calgary corpus, all files should pass the test. + +Test Case: Compressdev QAT PMD external mbufs fixed function test +------------------------------------------------------------------------- +Run Compressdev qat pmd test with below sample commands:: + + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ + -- --driver-name compress_qat --input-file file_name \ + --compress-level level --num-iter number --external-mbufs \ + --huffman-enc fixed + +Perform the test with external-mbufs option and fixed huffman-enc. + +Test all the file types in calgary corpus, all files should pass the test. + +Test Case: Compressdev QAT PMD external mbufs dynamic function test +-------------------------------------------------------------------------- +Run Compressdev qat pmd test with below sample commands:: + + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ + -- --driver-name compress_qat --input-file file_name \ + --compress-level level --num-iter number --external-mbufs \ + --huffman-enc dynamic + +Perform the test with external-mbufs option and dynamic huffman-enc. + +Test all the file types in calgary corpus, all files should pass the test. + +Test Case: Compressdev QAT PMD fixed performance test +-------------------------------------------------------------------------- +Run Compressdev qat pmd test with below sample commands:: + + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ + -- --driver-name compress_qat --input-file file_name \ + --compress-level level --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 QAT PMD dynamic performance test +--------------------------------------------------------------------------- +Run Compressdev qat pmd test with below sample commands:: + + ./app/dpdk-test-compress-perf -w qat_device_bus_id -l 4 \ + -- --driver-name compress_qat --input-file file_name \ + --compress-level level --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