test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi
@ 2020-05-15  8:03 xinfengx
  2020-05-15  8:03 ` [dts] [PATCH V1 1/3] test_plans: add aes-docsisbpi algorithm into crypto_perf test plan xinfengx
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: xinfengx @ 2020-05-15  8:03 UTC (permalink / raw)
  To: dts; +Cc: xinfengx

test_plans: add aes-docsisbpi algorithm into crypto_perf test plan
tests: add test cases for aes-docsisbpi
conf: add test setting for aes-docsisbpi cases

 conf/crypto_perf_cryptodev_perf.cfg           | 38 +++++++++++++++-
 test_plans/crypto_perf_cryptodev_perf_test_plan.rst  |  4 ++
 tests/TestSuite_crypto_perf_cryptodev_perf.py | 44 +++++++++++++++++++
 3 files changed, 85 insertions(+), 1 deletion(-)

-- 
2.17.1


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

* [dts] [PATCH V1 1/3] test_plans: add aes-docsisbpi algorithm into crypto_perf test plan
  2020-05-15  8:03 [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi xinfengx
@ 2020-05-15  8:03 ` xinfengx
  2020-05-15  8:03 ` [dts] [PATCH V1 2/3] tests: add test cases for aes-docsisbpi xinfengx
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: xinfengx @ 2020-05-15  8:03 UTC (permalink / raw)
  To: dts; +Cc: xinfengx

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

diff --git a/test_plans/crypto_perf_cryptodev_perf_test_plan.rst b/test_plans/crypto_perf_cryptodev_perf_test_plan.rst
index 4975934..1044506 100644
--- a/test_plans/crypto_perf_cryptodev_perf_test_plan.rst
+++ b/test_plans/crypto_perf_cryptodev_perf_test_plan.rst
@@ -58,6 +58,8 @@ Part of the algorithms are not supported currently.
 +-----------+-------------------+---------------------------------------------------------------------------+
 | aes       | ctr               | Encrypt/Decrypt;Key size: 128, 192, 256 bits                              |
 +-----------+-------------------+---------------------------------------------------------------------------+
+| aes       | docsisbpi         | Encrypt/Decrypt;Key size: 128, 256 bits                                   |
++-----------+-------------------+---------------------------------------------------------------------------+
 | sha       |                   | sha1, sha2-224, sha2-384, sha2-256, sha2-512                              |
 +-----------+-------------------+---------------------------------------------------------------------------+
 | hmac      |                   | Support md5 and sha implementations sha1, sha2-224, sha2-256,             |
@@ -86,6 +88,8 @@ Part of the algorithms are not supported currently.
 +---------+-------------------+---------------------------------------------------------------------------+
 | aes     | ctr               |  Encrypt/Decrypt;Key size: 128, 192, 256 bits                             |
 +---------+-------------------+---------------------------------------------------------------------------+
+| aes     | docsisbpi         |  Encrypt/Decrypt;Key size: 128, 256 bits                                  |
++---------+-------------------+---------------------------------------------------------------------------+
 | 3des    | cbc               |  Encrypt/Decrypt;Key size: 128, 192 bits                                  |
 +---------+-------------------+---------------------------------------------------------------------------+
 | 3des    | ctr               |  Encrypt/Decrypt;Key size: 128, 192 bits                                  |
-- 
2.17.1


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

* [dts] [PATCH V1 2/3] tests: add test cases for aes-docsisbpi
  2020-05-15  8:03 [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi xinfengx
  2020-05-15  8:03 ` [dts] [PATCH V1 1/3] test_plans: add aes-docsisbpi algorithm into crypto_perf test plan xinfengx
@ 2020-05-15  8:03 ` xinfengx
  2020-05-15  8:03 ` [dts] [PATCH V1 3/3] conf: add test setting for aes-docsisbpi cases xinfengx
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: xinfengx @ 2020-05-15  8:03 UTC (permalink / raw)
  To: dts; +Cc: xinfengx

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

diff --git a/tests/TestSuite_crypto_perf_cryptodev_perf.py b/tests/TestSuite_crypto_perf_cryptodev_perf.py
index 910c81a..8584aa3 100644
--- a/tests/TestSuite_crypto_perf_cryptodev_perf.py
+++ b/tests/TestSuite_crypto_perf_cryptodev_perf.py
@@ -269,6 +269,50 @@ class PerfTestsCryptodev(TestCase):
                                                   "sw_aes_gcm")
         self.verify(result, "Test failed")
 
+    def test_qat_encrypt_aes_docsisbpi(self):
+        if cc.is_test_skip(self):
+            return
+
+        eal_opt_str = cc.get_eal_opt_str(self, {"vdev":None})
+        crypto_perf_opt_str = self._get_crypto_perf_opt_str()
+        result = self._run_crypto_perf_throughput(eal_opt_str,
+                                                  crypto_perf_opt_str,
+                                                  "qat_encrypt_aes_docsisbpi")
+        self.verify(result, "Test failed")
+
+    def test_sw_encrypt_aes_docsisbpi(self):
+        if cc.is_test_skip(self):
+            return
+
+        eal_opt_str = cc.get_eal_opt_str(self)
+        crypto_perf_opt_str = self._get_crypto_perf_opt_str()
+        result = self._run_crypto_perf_throughput(eal_opt_str,
+                                                  crypto_perf_opt_str,
+                                                  "sw_encrypt_aes_docsisbpi")
+        self.verify(result, "Test failed")
+
+    def test_qat_decrypt_aes_docsisbpi(self):
+        if cc.is_test_skip(self):
+            return
+
+        eal_opt_str = cc.get_eal_opt_str(self, {"vdev":None})
+        crypto_perf_opt_str = self._get_crypto_perf_opt_str()
+        result = self._run_crypto_perf_throughput(eal_opt_str,
+                                                  crypto_perf_opt_str,
+                                                  "qat_decrypt_aes_docsisbpi")
+        self.verify(result, "Test failed")
+
+    def test_sw_decrypt_aes_docsisbpi(self):
+        if cc.is_test_skip(self):
+            return
+
+        eal_opt_str = cc.get_eal_opt_str(self)
+        crypto_perf_opt_str = self._get_crypto_perf_opt_str()
+        result = self._run_crypto_perf_throughput(eal_opt_str,
+                                                  crypto_perf_opt_str,
+                                                  "sw_decrypt_aes_docsisbpi")
+        self.verify(result, "Test failed")
+
     def test_qat_kasumi(self):
         if cc.is_test_skip(self):
             return
-- 
2.17.1


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

* [dts] [PATCH V1 3/3] conf: add test setting for aes-docsisbpi cases
  2020-05-15  8:03 [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi xinfengx
  2020-05-15  8:03 ` [dts] [PATCH V1 1/3] test_plans: add aes-docsisbpi algorithm into crypto_perf test plan xinfengx
  2020-05-15  8:03 ` [dts] [PATCH V1 2/3] tests: add test cases for aes-docsisbpi xinfengx
@ 2020-05-15  8:03 ` xinfengx
  2020-05-27  8:07   ` Wan, Zhe
  2020-05-26  7:45 ` [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi Zhao, XinfengX
  2020-06-01  7:46 ` Tu, Lijuan
  4 siblings, 1 reply; 7+ messages in thread
From: xinfengx @ 2020-05-15  8:03 UTC (permalink / raw)
  To: dts; +Cc: xinfengx

Signed-off-by: xinfengx <xinfengx.zhao@intel.com>
---
 conf/crypto_perf_cryptodev_perf.cfg | 38 ++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

diff --git a/conf/crypto_perf_cryptodev_perf.cfg b/conf/crypto_perf_cryptodev_perf.cfg
index 90c4e4e..05dc6af 100644
--- a/conf/crypto_perf_cryptodev_perf.cfg
+++ b/conf/crypto_perf_cryptodev_perf.cfg
@@ -9,7 +9,7 @@ n=6
 
 # default crypto device and sw device config, it could be overrided by test case
 w="0000:1a:01.0"
-vdev="crypto_aesni_mb_pmd_1"
+vdev="crypto_aesni_mb_1"
 
 total-ops=30000000
 buffer-sz="64,128,256,512,1024,2048"
@@ -213,6 +213,42 @@ aead-iv-sz=12
 aead-aad-sz=16
 digest-sz=16
 
+[test_qat_encrypt_aes_docsisbpi]
+devtype="crypto_qat"
+cipher-algo="aes-docsisbpi"
+cipher-op="encrypt"
+optype="cipher-only"
+cipher-key-sz=32
+cipher-iv-sz=16
+buffer-sz="40,64,70,128,256,512,1024,2048"
+
+[test_sw_encrypt_aes_docsisbpi]
+devtype="crypto_aesni_mb"
+cipher-algo="aes-docsisbpi"
+cipher-op="encrypt"
+optype="cipher-only"
+cipher-key-sz=32
+cipher-iv-sz=16
+buffer-sz="40,64,70,128,256,512,1024,2048"
+
+[test_qat_decrypt_aes_docsisbpi]
+devtype="crypto_qat"
+cipher-algo="aes-docsisbpi"
+cipher-op="decrypt"
+optype="cipher-only"
+cipher-key-sz=32
+cipher-iv-sz=16
+buffer-sz="40,64,70,128,256,512,1024,2048"
+
+[test_sw_decrypt_aes_docsisbpi]
+devtype="crypto_aesni_mb"
+cipher-algo="aes-docsisbpi"
+cipher-op="decrypt"
+optype="cipher-only"
+cipher-key-sz=32
+cipher-iv-sz=16
+buffer-sz="40,64,70,128,256,512,1024,2048"
+
 [test_qat_kasumi]
 devtype="crypto_qat"
 cipher-algo="kasumi-f8"
-- 
2.17.1


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

* Re: [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi
  2020-05-15  8:03 [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi xinfengx
                   ` (2 preceding siblings ...)
  2020-05-15  8:03 ` [dts] [PATCH V1 3/3] conf: add test setting for aes-docsisbpi cases xinfengx
@ 2020-05-26  7:45 ` Zhao, XinfengX
  2020-06-01  7:46 ` Tu, Lijuan
  4 siblings, 0 replies; 7+ messages in thread
From: Zhao, XinfengX @ 2020-05-26  7:45 UTC (permalink / raw)
  To: dts; +Cc: Wan, Zhe

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

-----Original Message-----
From: Zhao, XinfengX 
Sent: Friday, May 15, 2020 4:03 PM
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts][PATCH V1 0/3] add new test cases for aes-docsisbpi

test_plans: add aes-docsisbpi algorithm into crypto_perf test plan
tests: add test cases for aes-docsisbpi
conf: add test setting for aes-docsisbpi cases

 conf/crypto_perf_cryptodev_perf.cfg           | 38 +++++++++++++++-
 test_plans/crypto_perf_cryptodev_perf_test_plan.rst  |  4 ++  tests/TestSuite_crypto_perf_cryptodev_perf.py | 44 +++++++++++++++++++
 3 files changed, 85 insertions(+), 1 deletion(-)

--
2.17.1


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

* Re: [dts] [PATCH V1 3/3] conf: add test setting for aes-docsisbpi cases
  2020-05-15  8:03 ` [dts] [PATCH V1 3/3] conf: add test setting for aes-docsisbpi cases xinfengx
@ 2020-05-27  8:07   ` Wan, Zhe
  0 siblings, 0 replies; 7+ messages in thread
From: Wan, Zhe @ 2020-05-27  8:07 UTC (permalink / raw)
  To: Tu, Lijuan, Zhao, XinfengX, 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年5月15日 16:04
To: dts@dpdk.org
Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
Subject: [dts] [PATCH V1 3/3] conf: add test setting for aes-docsisbpi cases

Signed-off-by: xinfengx <xinfengx.zhao@intel.com>
---
 conf/crypto_perf_cryptodev_perf.cfg | 38 ++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

diff --git a/conf/crypto_perf_cryptodev_perf.cfg b/conf/crypto_perf_cryptodev_perf.cfg
index 90c4e4e..05dc6af 100644
--- a/conf/crypto_perf_cryptodev_perf.cfg
+++ b/conf/crypto_perf_cryptodev_perf.cfg
@@ -9,7 +9,7 @@ n=6
 
 # default crypto device and sw device config, it could be overrided by test case  w="0000:1a:01.0"
-vdev="crypto_aesni_mb_pmd_1"
+vdev="crypto_aesni_mb_1"
 
 total-ops=30000000
 buffer-sz="64,128,256,512,1024,2048"
@@ -213,6 +213,42 @@ aead-iv-sz=12
 aead-aad-sz=16
 digest-sz=16
 
+[test_qat_encrypt_aes_docsisbpi]
+devtype="crypto_qat"
+cipher-algo="aes-docsisbpi"
+cipher-op="encrypt"
+optype="cipher-only"
+cipher-key-sz=32
+cipher-iv-sz=16
+buffer-sz="40,64,70,128,256,512,1024,2048"
+
+[test_sw_encrypt_aes_docsisbpi]
+devtype="crypto_aesni_mb"
+cipher-algo="aes-docsisbpi"
+cipher-op="encrypt"
+optype="cipher-only"
+cipher-key-sz=32
+cipher-iv-sz=16
+buffer-sz="40,64,70,128,256,512,1024,2048"
+
+[test_qat_decrypt_aes_docsisbpi]
+devtype="crypto_qat"
+cipher-algo="aes-docsisbpi"
+cipher-op="decrypt"
+optype="cipher-only"
+cipher-key-sz=32
+cipher-iv-sz=16
+buffer-sz="40,64,70,128,256,512,1024,2048"
+
+[test_sw_decrypt_aes_docsisbpi]
+devtype="crypto_aesni_mb"
+cipher-algo="aes-docsisbpi"
+cipher-op="decrypt"
+optype="cipher-only"
+cipher-key-sz=32
+cipher-iv-sz=16
+buffer-sz="40,64,70,128,256,512,1024,2048"
+
 [test_qat_kasumi]
 devtype="crypto_qat"
 cipher-algo="kasumi-f8"
--
2.17.1


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

* Re: [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi
  2020-05-15  8:03 [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi xinfengx
                   ` (3 preceding siblings ...)
  2020-05-26  7:45 ` [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi Zhao, XinfengX
@ 2020-06-01  7:46 ` Tu, Lijuan
  4 siblings, 0 replies; 7+ 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: Friday, May 15, 2020 4:03 PM
> To: dts@dpdk.org
> Cc: Zhao, XinfengX <xinfengx.zhao@intel.com>
> Subject: [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi
> 
> test_plans: add aes-docsisbpi algorithm into crypto_perf test plan
> tests: add test cases for aes-docsisbpi
> conf: add test setting for aes-docsisbpi cases
> 
>  conf/crypto_perf_cryptodev_perf.cfg           | 38 +++++++++++++++-
>  test_plans/crypto_perf_cryptodev_perf_test_plan.rst  |  4 ++
> tests/TestSuite_crypto_perf_cryptodev_perf.py | 44 +++++++++++++++++++
>  3 files changed, 85 insertions(+), 1 deletion(-)
> 
> --
> 2.17.1


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

end of thread, other threads:[~2020-06-01  7:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15  8:03 [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi xinfengx
2020-05-15  8:03 ` [dts] [PATCH V1 1/3] test_plans: add aes-docsisbpi algorithm into crypto_perf test plan xinfengx
2020-05-15  8:03 ` [dts] [PATCH V1 2/3] tests: add test cases for aes-docsisbpi xinfengx
2020-05-15  8:03 ` [dts] [PATCH V1 3/3] conf: add test setting for aes-docsisbpi cases xinfengx
2020-05-27  8:07   ` Wan, Zhe
2020-05-26  7:45 ` [dts] [PATCH V1 0/3] add new test cases for aes-docsisbpi Zhao, XinfengX
2020-06-01  7:46 ` 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).