* [dts] [PATCH V1] test_plans: add test cases for compressdev_qat_pmd
@ 2019-11-26 15:25 Zhe
2019-11-27 9:39 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Zhe @ 2019-11-26 15:25 UTC (permalink / raw)
To: dts; +Cc: Zhe Wan
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1] test_plans: add test cases for compressdev_qat_pmd
2019-11-26 15:25 [dts] [PATCH V1] test_plans: add test cases for compressdev_qat_pmd Zhe
@ 2019-11-27 9:39 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-11-27 9:39 UTC (permalink / raw)
To: Wan, Zhe, dts; +Cc: Wan, Zhe
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zhe
> Sent: Tuesday, November 26, 2019 11:25 PM
> To: dts@dpdk.org
> Cc: Wan, Zhe <zhe.wan@intel.com>
> Subject: [dts] [PATCH V1] test_plans: add test cases for
> compressdev_qat_pmd
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-27 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26 15:25 [dts] [PATCH V1] test_plans: add test cases for compressdev_qat_pmd Zhe
2019-11-27 9:39 ` Tu, Lijuan
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).