From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3E24DA034E; Fri, 15 May 2020 10:04:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 29DA11DA8D; Fri, 15 May 2020 10:04:43 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id AC3091DA79 for ; Fri, 15 May 2020 10:04:41 +0200 (CEST) IronPort-SDR: 3QNXSG01JL5Nd+ivJsZzR2o1fFicDhJn1NdkvqccDd09a8XLHgYQESnWJ57cAmDRIzUNeCYvJP hprhljD3+z8A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2020 01:04:39 -0700 IronPort-SDR: FftUanu7ptSxDpaw3IUUshpMv48IaQ0pSMBJS4yU0kiPTR7rjpYt7YwrASEP0ytnGalR40O+yO jnGpLu827sig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,394,1583222400"; d="scan'208";a="438228733" Received: from unknown (HELO dpdk-xinfengx-dut.sh.intel.com) ([10.67.117.16]) by orsmga005.jf.intel.com with ESMTP; 15 May 2020 01:04:38 -0700 From: xinfengx To: dts@dpdk.org Cc: xinfengx Date: Fri, 15 May 2020 16:03:31 +0800 Message-Id: <20200515080332.102832-3-xinfengx.zhao@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200515080332.102832-1-xinfengx.zhao@intel.com> References: <20200515080332.102832-1-xinfengx.zhao@intel.com> Subject: [dts] [PATCH V1 2/3] tests: add test cases for aes-docsisbpi X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: xinfengx --- 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