From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 35F96A0096 for ; Wed, 5 Jun 2019 04:21:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 16CA02BEA; Wed, 5 Jun 2019 04:21:51 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 929792A6A for ; Wed, 5 Jun 2019 04:21:49 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jun 2019 19:21:48 -0700 X-ExtLoop1: 1 Received: from purley-s2600stq.sh.intel.com ([10.67.110.242]) by fmsmga001.fm.intel.com with ESMTP; 04 Jun 2019 19:21:48 -0700 From: Xinfeng Zhao To: dts@dpdk.org Cc: Xinfeng Zhao Date: Wed, 5 Jun 2019 01:24:11 +0800 Message-Id: <1559669051-205557-1-git-send-email-xinfengx.zhao@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH V1] test_plan: add new feature in cryptodev unit test_plan 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" add case "cryptodev_qat_asym_autotest" Signed-off-by: Xinfeng Zhao --- test_plans/unit_tests_cryptodev_func_test_plan.rst | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/test_plans/unit_tests_cryptodev_func_test_plan.rst b/test_plans/unit_tests_cryptodev_func_test_plan.rst index 6cb6c5e..836a6b7 100644 --- a/test_plans/unit_tests_cryptodev_func_test_plan.rst +++ b/test_plans/unit_tests_cryptodev_func_test_plan.rst @@ -45,7 +45,7 @@ Technology) into DPDK. The QAT provides poll mode crypto driver support for Intel@ QuickAssist Adapter 8950 hardware accelerator. The testing of Crytpodev API should be tested under either Intel QuickAssist Technology DH895xxC hardware -accelerator or AES-NI library. +accelerator or AES-NI, KASUMI, SNOW3G, ZUC library. This test suite will run all cryptodev related unit test cases. Alternatively, you could execute the unit tests manually by app/test DPDK application. @@ -62,16 +62,28 @@ Unit Test List - cryptodev_sw_kasumi_autotest - cryptodev_sw_zuc_autotest - cryptodev_scheduler_autotest +- cryptodev_qat_asym_autotest Test Case Setup =============== +#. Enable crypto PMD in config/common_base + + CONFIG_RTE_LIBRTE_PMD_QAT_SYM + CONFIG_RTE_LIBRTE_PMD_QAT_ASYM + CONFIG_RTE_LIBRTE_PMD_AESNI_MB + CONFIG_RTE_LIBRTE_PMD_AESNI_GCM + CONFIG_RTE_LIBRTE_PMD_OPENSSL + CONFIG_RTE_LIBRTE_PMD_KASUMI + CONFIG_RTE_LIBRTE_PMD_SNOW3G + CONFIG_RTE_LIBRTE_PMD_ZUC + #. Build DPDK and app/test app #. Bind cryptodev devices to igb_uio driver #. Manually verify the app/test by this command, as example, in your build folder:: - ./app/test -c 1 -n 1 + ./app/test -c 1 -n 1 -w 0000:1a:01.0 RTE>> cryptodev_qat_autotest All Unit Test Cases are listed above. -- 2.7.4