From: Zhe <zhe.wan@intel.com>
To: dts@dpdk.org
Cc: Zhe Wan <zhe.wan@intel.com>
Subject: [dts] [PATCH V1] test_plans: add test cases for compressdev_qat_pmd
Date: Tue, 26 Nov 2019 10:25:01 -0500 [thread overview]
Message-ID: <1574781901-72423-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/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
next reply other threads:[~2019-11-26 7:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-26 15:25 Zhe [this message]
2019-11-27 9:39 ` 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=1574781901-72423-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).