From patchwork Thu Sep 14 15:22:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dooley, Brian" X-Patchwork-Id: 131432 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CD0A242598; Thu, 14 Sep 2023 17:23:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4BC5B406FF; Thu, 14 Sep 2023 17:22:45 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 6ED8F40698; Thu, 14 Sep 2023 17:22:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694704962; x=1726240962; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=C9RA06ABO5wgQsOghfDvgeboBT3Uloj8he9kYXp4gcg=; b=n9mAURJ09a8VT+K+1CylIedbjciOr9UaM5kaRe3g810THT13Qso4u/gx ct/fq9WZ1acyhn/cnaeuVIMGh7BrK20xuuz16PfhdQuReZTTMEvbhgq7S +14KeVsCSqf0g3UDDfnHCpb10Ik2O2p2KtfyZHX/vurrYhmwvX4RgBp9L RDhpnB1TfNwd1ATgkMO73+E9lhIUokvrl2fTgnDi4yVLTqxPi1Ud+3ToD +q+DBK1bnw8u2+q9rsHZJOUKl/ipQnshuKmnrEy86m3ZCp+fYGbglE1Hp TXbYQ0XRUBLrNGQdFVOmJLv5Dpwp4IPV2SVY426Wc8wptzenP97D0U9NR w==; X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="465354103" X-IronPort-AV: E=Sophos;i="6.02,146,1688454000"; d="scan'208";a="465354103" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2023 08:22:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="859754377" X-IronPort-AV: E=Sophos;i="6.02,146,1688454000"; d="scan'208";a="859754377" Received: from silpixa00400883.ir.intel.com ([10.243.22.155]) by fmsmga002.fm.intel.com with ESMTP; 14 Sep 2023 08:22:40 -0700 From: Brian Dooley To: Akhil Goyal , Fan Zhang Cc: dev@dpdk.org, Brian Dooley , pablo.de.lara.guarch@intel.com, stable@dpdk.org, Ciara Power Subject: [PATCH v8 3/3] test/crypto: fix failing synchronous tests Date: Thu, 14 Sep 2023 15:22:29 +0000 Message-Id: <20230914152229.2650901-4-brian.dooley@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230914152229.2650901-1-brian.dooley@intel.com> References: <20230907161258.2288031-1-brian.dooley@intel.com> <20230914152229.2650901-1-brian.dooley@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Some synchronous tests are not supported for cpu crypto and need to be skipped. This commit adds in extra skips for these tests. Fixes: 55ab4a8c4fb5 ("test/crypto: disable wireless cases for CPU crypto API") Cc: pablo.de.lara.guarch@intel.com Cc: stable@dpdk.org Acked-by: Ciara Power Signed-off-by: Brian Dooley --- v8: Reword commit and add cc stable --- app/test/test_cryptodev.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 956268bfcd..70f6b7ece1 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -6394,6 +6394,9 @@ test_zuc_auth_cipher(const struct wireless_test_data *tdata, tdata->digest.len) < 0) return TEST_SKIPPED; + if (gbl_action_type == RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO) + return TEST_SKIPPED; + rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); uint64_t feat_flags = dev_info.feature_flags; @@ -7829,6 +7832,9 @@ test_mixed_auth_cipher(const struct mixed_cipher_auth_test_data *tdata, if (global_api_test_type == CRYPTODEV_RAW_API_TEST) return TEST_SKIPPED; + if (gbl_action_type == RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO) + return TEST_SKIPPED; + rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info); uint64_t feat_flags = dev_info.feature_flags;