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 88275A0588; Thu, 16 Apr 2020 15:08:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 93C851DC84; Thu, 16 Apr 2020 15:08:53 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 539631DC81 for ; Thu, 16 Apr 2020 15:08:51 +0200 (CEST) IronPort-SDR: 8yYHV47VSWpTPI9J/nFZ9hiBn9odzZEAhUuSYX3aZdefd6e3x8y0RG5QPjaYrQvEsavp3agwlC zekaNrd5KrRw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 06:08:49 -0700 IronPort-SDR: uTO7mRlJY90GCSVnf4rtYAFC1cplnRkPjsMwSJ9Kh1fKerxyW4SnLWpbOgps12qjIGMudBc2Bj 1m0+wMiIw7cw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,391,1580803200"; d="scan'208";a="454322198" Received: from silpixa00400565.ir.intel.com (HELO silpixa00400565.ger.corp.intel.com) ([10.237.222.249]) by fmsmga005.fm.intel.com with ESMTP; 16 Apr 2020 06:08:47 -0700 From: Pablo de Lara To: declan.doherty@intel.com Cc: dev@dpdk.org, akhil.goyal@nxp.com, Pablo de Lara Date: Thu, 16 Apr 2020 10:08:17 +0100 Message-Id: <20200416090819.1921843-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.25.2 In-Reply-To: <1586886056-221547-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1586886056-221547-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 0/2] Crypto test refactoring (first 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 adds crypto capability checks in the cryptodev test code, to be able to skip unsupported test cases for each crypto device, according to their capabilities. Thanks to this patchset, there is no more need to check for internal PMD information in the test code, making it more "device-agnostic". Changes in v4: - Avoid checking algorithm parameters when CIPHER_NULL and/or AUTH_NULL are used (such as key size, IV size...), as these are not relevant - Replaced "&&" with "&" in an if statament Pablo de Lara (2): test/crypto: add capability check test/crypto: do not check for internal PMD information app/test/test_cryptodev_blockcipher.c | 58 ++++++++++++++++++++++++++++- app/test/test_cryptodev_hash_test_vectors.h | 25 ------------- 2 files changed, 57 insertions(+), 26 deletions(-) -- 2.7.5