test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1 1/2] test_plan/compressdev_qat_pmd: add new cases in test plan
@ 2020-05-21  8:32 xinfengx
  2020-05-21  8:32 ` [dts] [PATCH V1 2/2] tests/compressdev_qat_pmd: add new cases in test script xinfengx
  2020-06-01  7:46 ` [dts] [PATCH V1 1/2] test_plan/compressdev_qat_pmd: add new cases in test plan Tu, Lijuan
  0 siblings, 2 replies; 5+ messages in thread
From: xinfengx @ 2020-05-21  8:32 UTC (permalink / raw)
  To: dts; +Cc: xinfengx

Signed-off-by: xinfengx <xinfengx.zhao@intel.com>
---
 test_plans/compressdev_qat_pmd_test_plan.rst | 28 ++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/test_plans/compressdev_qat_pmd_test_plan.rst b/test_plans/compressdev_qat_pmd_test_plan.rst
index a286d2c..76309d1 100644
--- a/test_plans/compressdev_qat_pmd_test_plan.rst
+++ b/test_plans/compressdev_qat_pmd_test_plan.rst
@@ -171,6 +171,34 @@ 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 im buffer split op 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 --seg-sz segsize \
+    --max-num-sgl-segs seg --extended-input-sz size \
+    --huffman-enc fixed
+
+Perform the test with extended-input-sz, max-num-sgl-segs option and fixed huffman-enc.
+
+Test all the file types in calgary corpus, all files should pass the test.
+
+Test Case: Compressdev QAT PMD im buffer split op 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 --seg-sz segsize \
+    --max-num-sgl-segs seg --extended-input-sz size \
+    --huffman-enc dynamic
+
+Perform the test with extended-input-sz, max-num-sgl-segs 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::
-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [dts] [PATCH V1 2/2] tests/compressdev_qat_pmd: add new cases in test script
  2020-05-21  8:32 [dts] [PATCH V1 1/2] test_plan/compressdev_qat_pmd: add new cases in test plan xinfengx
@ 2020-05-21  8:32 ` xinfengx
  2020-05-26  7:44   ` Zhao, XinfengX
  2020-05-27  7:56   ` Wan, Zhe
  2020-06-01  7:46 ` [dts] [PATCH V1 1/2] test_plan/compressdev_qat_pmd: add new cases in test plan Tu, Lijuan
  1 sibling, 2 replies; 5+ messages in thread
From: xinfengx @ 2020-05-21  8:32 UTC (permalink / raw)
  To: dts; +Cc: xinfengx

Signed-off-by: xinfengx <xinfengx.zhao@intel.com>
---
 tests/TestSuite_compressdev_qat_pmd.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/tests/TestSuite_compressdev_qat_pmd.py b/tests/TestSuite_compressdev_qat_pmd.py
index 696ad1d..601ed62 100644
--- a/tests/TestSuite_compressdev_qat_pmd.py
+++ b/tests/TestSuite_compressdev_qat_pmd.py
@@ -123,6 +123,18 @@ class TestCompressdevQatPmd(TestCase):
             "seg-sz": 2048, "external-mbufs": '', "extended-input-sz": 300000})
         result = cc.run_compress_func(self)
 
+    def test_qat_pmd_im_fixed_func(self):
+        cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device())
+        cc.default_opts.update({"huffman-enc": "fixed", "seg-sz": 59460,
+            "max-num-sgl-segs": 54, "extended-input-sz": 3251493})
+        result = cc.run_compress_func(self)
+
+    def test_qat_pmd_im_dynamic_func(self):
+        cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device())
+        cc.default_opts.update({"huffman-enc": "dynamic", "seg-sz": 59460,
+            "max-num-sgl-segs": 54, "extended-input-sz": 3251493})
+        result = cc.run_compress_func(self)
+
     def test_qat_pmd_fixed_perf(self):
         cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device())
         cc.default_opts.update({"huffman-enc": "fixed", "extended-input-sz": 3244032,
-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dts] [PATCH V1 2/2] tests/compressdev_qat_pmd: add new cases in test script
  2020-05-21  8:32 ` [dts] [PATCH V1 2/2] tests/compressdev_qat_pmd: add new cases in test script xinfengx
@ 2020-05-26  7:44   ` Zhao, XinfengX
  2020-05-27  7:56   ` Wan, Zhe
  1 sibling, 0 replies; 5+ messages in thread
From: Zhao, XinfengX @ 2020-05-26  7:44 UTC (permalink / raw)
  To: dts; +Cc: Wan, Zhe

Tested-by:  Zhao, Xinfeng<xinfengx.zhao@intel.com>

-----Original Message-----
From: Zhao, XinfengX 
Sent: Thursday, May 21, 2020 4:33 PM
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts][PATCH V1 2/2] tests/compressdev_qat_pmd: add new cases in test script

Signed-off-by: xinfengx <xinfengx.zhao@intel.com>
---
 tests/TestSuite_compressdev_qat_pmd.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/tests/TestSuite_compressdev_qat_pmd.py b/tests/TestSuite_compressdev_qat_pmd.py
index 696ad1d..601ed62 100644
--- a/tests/TestSuite_compressdev_qat_pmd.py
+++ b/tests/TestSuite_compressdev_qat_pmd.py
@@ -123,6 +123,18 @@ class TestCompressdevQatPmd(TestCase):
             "seg-sz": 2048, "external-mbufs": '', "extended-input-sz": 300000})
         result = cc.run_compress_func(self)
 
+    def test_qat_pmd_im_fixed_func(self):
+        cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device())
+        cc.default_opts.update({"huffman-enc": "fixed", "seg-sz": 59460,
+            "max-num-sgl-segs": 54, "extended-input-sz": 3251493})
+        result = cc.run_compress_func(self)
+
+    def test_qat_pmd_im_dynamic_func(self):
+        cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device())
+        cc.default_opts.update({"huffman-enc": "dynamic", "seg-sz": 59460,
+            "max-num-sgl-segs": 54, "extended-input-sz": 3251493})
+        result = cc.run_compress_func(self)
+
     def test_qat_pmd_fixed_perf(self):
         cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device())
         cc.default_opts.update({"huffman-enc": "fixed", "extended-input-sz": 3244032,
-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dts] [PATCH V1 2/2] tests/compressdev_qat_pmd: add new cases in test script
  2020-05-21  8:32 ` [dts] [PATCH V1 2/2] tests/compressdev_qat_pmd: add new cases in test script xinfengx
  2020-05-26  7:44   ` Zhao, XinfengX
@ 2020-05-27  7:56   ` Wan, Zhe
  1 sibling, 0 replies; 5+ messages in thread
From: Wan, Zhe @ 2020-05-27  7:56 UTC (permalink / raw)
  To: Tu, Lijuan, dts; +Cc: Zhao, XinfengX

Acked-by: Wan, Zhe <zhe.wan@intel.com>

Thanks!
BR,
Wan,Zhe

-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of xinfengx
Sent: 2020^[$BG/^[(B5^[$B7n^[(B21^[$BF|^[(B 16:33
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts] [PATCH V1 2/2] tests/compressdev_qat_pmd: add new cases in test script

Signed-off-by: xinfengx <xinfengx.zhao@intel.com>
---
 tests/TestSuite_compressdev_qat_pmd.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/tests/TestSuite_compressdev_qat_pmd.py b/tests/TestSuite_compressdev_qat_pmd.py
index 696ad1d..601ed62 100644
--- a/tests/TestSuite_compressdev_qat_pmd.py
+++ b/tests/TestSuite_compressdev_qat_pmd.py
@@ -123,6 +123,18 @@ class TestCompressdevQatPmd(TestCase):
             "seg-sz": 2048, "external-mbufs": '', "extended-input-sz": 300000})
         result = cc.run_compress_func(self)
 
+    def test_qat_pmd_im_fixed_func(self):
+        cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device())
+        cc.default_opts.update({"huffman-enc": "fixed", "seg-sz": 59460,
+            "max-num-sgl-segs": 54, "extended-input-sz": 3251493})
+        result = cc.run_compress_func(self)
+
+    def test_qat_pmd_im_dynamic_func(self):
+        cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device())
+        cc.default_opts.update({"huffman-enc": "dynamic", "seg-sz": 59460,
+            "max-num-sgl-segs": 54, "extended-input-sz": 3251493})
+        result = cc.run_compress_func(self)
+
     def test_qat_pmd_fixed_perf(self):
         cc.default_eals['w'] = ' -w '.join(self.get_perf_default_device())
         cc.default_opts.update({"huffman-enc": "fixed", "extended-input-sz": 3244032,
-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dts] [PATCH V1 1/2] test_plan/compressdev_qat_pmd: add new cases in test plan
  2020-05-21  8:32 [dts] [PATCH V1 1/2] test_plan/compressdev_qat_pmd: add new cases in test plan xinfengx
  2020-05-21  8:32 ` [dts] [PATCH V1 2/2] tests/compressdev_qat_pmd: add new cases in test script xinfengx
@ 2020-06-01  7:46 ` Tu, Lijuan
  1 sibling, 0 replies; 5+ messages in thread
From: Tu, Lijuan @ 2020-06-01  7:46 UTC (permalink / raw)
  To: Zhao, XinfengX, dts; +Cc: Zhao, XinfengX

Applied the series, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xinfengx
> Sent: Thursday, May 21, 2020 4:33 PM
> To: dts@dpdk.org
> Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
> Subject: [dts] [PATCH V1 1/2] test_plan/compressdev_qat_pmd: add new
> cases in test plan
> 
> Signed-off-by: xinfengx <xinfengx.zhao@intel.com>
> ---
>  test_plans/compressdev_qat_pmd_test_plan.rst | 28
> ++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/test_plans/compressdev_qat_pmd_test_plan.rst
> b/test_plans/compressdev_qat_pmd_test_plan.rst
> index a286d2c..76309d1 100644
> --- a/test_plans/compressdev_qat_pmd_test_plan.rst
> +++ b/test_plans/compressdev_qat_pmd_test_plan.rst
> @@ -171,6 +171,34 @@ 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 im buffer split op 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 --seg-sz segsize \
> +    --max-num-sgl-segs seg --extended-input-sz size \
> +    --huffman-enc fixed
> +
> +Perform the test with extended-input-sz, max-num-sgl-segs option and
> fixed huffman-enc.
> +
> +Test all the file types in calgary corpus, all files should pass the test.
> +
> +Test Case: Compressdev QAT PMD im buffer split op 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 --seg-sz segsize \
> +    --max-num-sgl-segs seg --extended-input-sz size \
> +    --huffman-enc dynamic
> +
> +Perform the test with extended-input-sz, max-num-sgl-segs 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::
> --
> 2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, back to index

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-21  8:32 [dts] [PATCH V1 1/2] test_plan/compressdev_qat_pmd: add new cases in test plan xinfengx
2020-05-21  8:32 ` [dts] [PATCH V1 2/2] tests/compressdev_qat_pmd: add new cases in test script xinfengx
2020-05-26  7:44   ` Zhao, XinfengX
2020-05-27  7:56   ` Wan, Zhe
2020-06-01  7:46 ` [dts] [PATCH V1 1/2] test_plan/compressdev_qat_pmd: add new cases in test plan Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox