From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C72E842538; Thu, 7 Sep 2023 18:13:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A5DB4067B; Thu, 7 Sep 2023 18:13:28 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id B462B400EF for ; Thu, 7 Sep 2023 18:13:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694103204; x=1725639204; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0iL5P6GZcugmA6BdIop/MsOTU5ppJgqg1YAdwAvX+ok=; b=nuP0xZlO7MVun3lWGiOlkCbIX2XQSUTd7fPL84T7jMIrWb87jf65Xg7R NqZ9kdcRsi9zDKWhlWXSrUZuZ6B6vNeOfkaVvaBXMo3XIbOwnkY/qK04o rF/nIVBD60CtA6QWLsfSisUFiTgi+hifstaIfxKV0Sw0ZApRL0Z95+bCT GUPpgWTGhFcQd1p4eYbEtjTje8Lxj0UnlXQqTtqJHbLIdgX9H0X6MC8fN UvUfwZA1So9JmXsKweLSC50q5R/Xpe8bshalqFtJf5wo/Yb9jXSyRczSF OZdJD0PxsFk/k6MM8EpwVZWCG86+OsxGE2CtMYrV7IHe3iG8TCBBW06ka Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10826"; a="408395813" X-IronPort-AV: E=Sophos;i="6.02,235,1688454000"; d="scan'208";a="408395813" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2023 09:13:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10826"; a="771337679" X-IronPort-AV: E=Sophos;i="6.02,235,1688454000"; d="scan'208";a="771337679" Received: from silpixa00400883.ir.intel.com ([10.243.22.155]) by orsmga008.jf.intel.com with ESMTP; 07 Sep 2023 09:13:06 -0700 From: Brian Dooley To: Akhil Goyal , Fan Zhang Cc: dev@dpdk.org, Brian Dooley , pablo.de.lara.guarch@intel.com, Ciara Power Subject: [PATCH v7 3/3] test/crypto: fix failing synchronous tests Date: Thu, 7 Sep 2023 16:12:58 +0000 Message-Id: <20230907161258.2288031-4-brian.dooley@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230907161258.2288031-1-brian.dooley@intel.com> References: <20230907102614.2269913-2-brian.dooley@intel.com> <20230907161258.2288031-1-brian.dooley@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 do not support digest encrypted 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 Acked-by: Ciara Power Signed-off-by: Brian Dooley --- 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; -- 2.25.1