test suite reviews and discussions
 help / color / mirror / Atom feed
From: xinfengx <xinfengx.zhao@intel.com>
To: dts@dpdk.org
Cc: xinfengx <xinfengx.zhao@intel.com>
Subject: [dts] [PATCH V1 2/3] tests: add test cases for aes-docsisbpi
Date: Fri, 15 May 2020 16:03:31 +0800	[thread overview]
Message-ID: <20200515080332.102832-3-xinfengx.zhao@intel.com> (raw)
In-Reply-To: <20200515080332.102832-1-xinfengx.zhao@intel.com>

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


  parent reply	other threads:[~2020-05-15  8:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15  8:03 [dts] [PATCH V1 0/3] add new " 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 [this message]
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

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=20200515080332.102832-3-xinfengx.zhao@intel.com \
    --to=xinfengx.zhao@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).