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 E5B8FA0588; Thu, 16 Apr 2020 19:24:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B2AA31DC1E; Thu, 16 Apr 2020 19:24:31 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id EFA811D902 for ; Thu, 16 Apr 2020 19:24:29 +0200 (CEST) IronPort-SDR: vNOv/vcoxTRW/lRQ8fRbZrQNUKTlXq+d5A39y+nro9Bb8BoWxaBtNrUSOa2naEaEr3XgVLa8ee xKe09z+ZrWwA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 10:24:28 -0700 IronPort-SDR: zIpwyfJh19BXEqSHKJVrPbYYFwcVSDqoqXw+LZJAcIJE234Hb0VZ1mvhihyResjmP/4en2HrAl Suko+gmdeXDQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,391,1580803200"; d="scan'208";a="454409928" Received: from silpixa00399593.ir.intel.com (HELO silpixa00399593.ger.corp.intel.com) ([10.237.223.21]) by fmsmga005.fm.intel.com with ESMTP; 16 Apr 2020 10:24:27 -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 18:24:22 +0100 Message-Id: <1587057864-160450-1-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.7.5 In-Reply-To: <20200416090819.1921843-1-pablo.de.lara.guarch@intel.com> References: <20200416090819.1921843-1-pablo.de.lara.guarch@intel.com> Subject: [dpdk-dev] [PATCH v5 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 v5: - Removed fix from the first commit, sending it in a separate patch. 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 | 56 +++++++++++++++++++++++++++++ app/test/test_cryptodev_hash_test_vectors.h | 25 ------------- 2 files changed, 56 insertions(+), 25 deletions(-) -- 2.7.5