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 F1998A0588; Thu, 16 Apr 2020 15:26:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D19511DCA8; Thu, 16 Apr 2020 15:26:11 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id AC5EB1DCA4 for ; Thu, 16 Apr 2020 15:26:09 +0200 (CEST) IronPort-SDR: b1BOuuh+kSedzb/cGvQ/6KmLEPDPpqvVd4BKOj7fVPaj4mAe6ART5nh3Ooz9sCps2Q9ALlVuUG xz52797c5jTg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 06:26:08 -0700 IronPort-SDR: pgSMyaA8+ldfA2Z9icWGvdHIz+0Rc8rmIbKaMjZ425pfUkzh1/kBo3La5L7g+gRCRLo1XRyh7s G6dBnDO/kgag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,391,1580803200"; d="scan'208";a="244396636" Received: from silpixa00400565.ir.intel.com (HELO silpixa00400565.ger.corp.intel.com) ([10.237.222.249]) by fmsmga007.fm.intel.com with ESMTP; 16 Apr 2020 06:26:05 -0700 From: Pablo de Lara To: declan.doherty@intel.com, ravi1.kumar@amd.com, ruifeng.wang@arm.com, anoobj@marvell.com, roy.fan.zhang@intel.com, fiona.trahe@intel.com, tdu@semihalf.com, rnagadheeraj@marvell.com, adwivedi@marvell.com, g.singh@nxp.com, hemant.agrawal@nxp.com, jianjay.zhou@huawei.com Cc: dev@dpdk.org, akhil.goyal@nxp.com, Pablo de Lara Date: Thu, 16 Apr 2020 10:25:28 +0100 Message-Id: <20200416092532.1922099-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.25.2 In-Reply-To: <1586887459-222433-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1586887459-222433-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/4] Crypto test refactoring (second phase) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset is the phase two of the crypto test refactoring effort. It mainly focuses on removing the PMD bitmask used to select which PMDs are used to run the tests against. Instead, now all PMDs will run all test cases and the capability checking will determine which ones are supported and therefore, are not skipped. Since there are tests cases that require sessionless support, a new feature flag has been added, which reflects this support per PMD. I am CC'ing all PMD maintainers, asking for their collaboration to test this patchset, as this might impact the testing of each PMD. This patchset depends on: (1) http://patches.dpdk.org/patch/68433/ (crypto/openssl: fix out-of-place encryption) (2) http://patches.dpdk.org/patch/68434/ (cryptodev: add missing feature name) (3) http://patches.dpdk.org/cover/68677/ (Crypto test refactoring (first phase)) Changes in v2: - Added new commit, adding a check for out-of-place operations Pablo de Lara (4): cryptodev: add sessionless support feature flag test/crypto: check if device supports sessionless test/crypto: check if device supports out-of-place ops test/crypto: do not check for PMD in tests app/test/test_cryptodev.c | 1 - app/test/test_cryptodev_aes_test_vectors.h | 519 ------------------- app/test/test_cryptodev_blockcipher.c | 155 +----- app/test/test_cryptodev_blockcipher.h | 18 - app/test/test_cryptodev_des_test_vectors.h | 160 ------ app/test/test_cryptodev_hash_test_vectors.h | 219 -------- doc/guides/cryptodevs/features/aesni_gcm.ini | 1 + doc/guides/cryptodevs/features/aesni_mb.ini | 1 + doc/guides/cryptodevs/features/armv8.ini | 1 + doc/guides/cryptodevs/features/caam_jr.ini | 2 +- doc/guides/cryptodevs/features/ccp.ini | 3 +- doc/guides/cryptodevs/features/default.ini | 1 + doc/guides/cryptodevs/features/kasumi.ini | 3 +- doc/guides/cryptodevs/features/octeontx.ini | 1 + doc/guides/cryptodevs/features/octeontx2.ini | 1 + doc/guides/cryptodevs/features/openssl.ini | 1 + doc/guides/cryptodevs/features/snow3g.ini | 3 +- doc/guides/cryptodevs/features/zuc.ini | 1 + drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 3 +- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 3 +- drivers/crypto/armv8/rte_armv8_pmd.c | 3 +- drivers/crypto/ccp/rte_ccp_pmd.c | 3 +- drivers/crypto/kasumi/rte_kasumi_pmd.c | 3 +- drivers/crypto/null/null_crypto_pmd.c | 3 +- drivers/crypto/octeontx/otx_cryptodev_ops.c | 3 +- drivers/crypto/octeontx2/otx2_cryptodev.c | 3 +- drivers/crypto/openssl/rte_openssl_pmd.c | 3 +- drivers/crypto/snow3g/rte_snow3g_pmd.c | 3 +- drivers/crypto/zuc/rte_zuc_pmd.c | 3 +- lib/librte_cryptodev/rte_cryptodev.c | 2 + lib/librte_cryptodev/rte_cryptodev.h | 2 + 31 files changed, 67 insertions(+), 1061 deletions(-) -- 2.25.2