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 94030431A0 for ; Thu, 19 Oct 2023 02:00:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E43640A8B; Thu, 19 Oct 2023 02:00:44 +0200 (CEST) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mails.dpdk.org (Postfix) with ESMTP id 29DA940291 for ; Thu, 19 Oct 2023 02:00:43 +0200 (CEST) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-40566f8a093so68874145e9.3 for ; Wed, 18 Oct 2023 17:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697673643; x=1698278443; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ekNkJlOAfZpjOYWK/tgC2b1ZDstG0MWMhS7De7nMqtM=; b=Ybix+Ji1ANsp+r9KzPUQNlia8jYSzAUZJKk/DgnHVV4v8Irlufld3XnwtqZWsQ6uPw bfLh3SjWjRCsKfEuCFsEYKhhuzd99nAHD98HZKcwFy/2wn3oGbqkznAW1WRBw3CyiofY uzqUU/eIWX56bGJDzIV3W8Ynjx8n9BPkp1ES5rBECbQeTEII2RRleQWn9FMSYuWWdEkX BMKJnH2oiBb08Fnro1uvKUpctW4h1qglC6fiY8uQ0Gap0wu/B70xVz7JioQlOKP9vW/d KOABLNXt1VNVf8wi7/sWHrob8kC7YP6d1OXVK/iReuB+91dqOIHRM1CdC0TQcbzM5p59 mppQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697673643; x=1698278443; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ekNkJlOAfZpjOYWK/tgC2b1ZDstG0MWMhS7De7nMqtM=; b=mgBIgyjRSUt54zxQMYKYAhZZJtNc0B5Pr31yTLToL9eYck2MOXCUps6U7fFAdk6fFX roK0NPZm4zTR4JZUM2Uzk9eTFIu2fVHlseOCyzhxlOafL9m/pPbqYTjlByJohaWffFu9 LaDvsXAB+Gf5S94D7qOhrFmAtKA6UMcLFjxY1INr4cDYk/ZAPUNFOGv/Z5R6MdT1LmyG J8Pf1i7j0gtwGFIg6BLlrTB6jceRF995oZ2wI948PcdYaeMhPM8jo3e6cgN1rN5+I1xs mNrPi7Jw+5fAwe63bfw5QaYUNB05X2k337KSZkL9qzOkKIqf7Mr/fkv0NPFxnpaOJ8pI /CcA== X-Gm-Message-State: AOJu0Yw4BTrOqTxM+G9SR7/ng22A2APfX6a8hShc9rO+FnCa/PRHfTjK AoCAKni4VWVbUsJ32DncqQ/1eiNGtFIBvA== X-Google-Smtp-Source: AGHT+IG/jAq55mXnCLHnVkKiIMersqy27Vwam59b89x087Qjr8PYMxZvp+V4ADFIvWq3Olmi4GLweA== X-Received: by 2002:adf:f386:0:b0:32d:88f6:ec2f with SMTP id m6-20020adff386000000b0032d88f6ec2fmr314959wro.60.1697673642761; Wed, 18 Oct 2023 17:00:42 -0700 (PDT) Received: from localhost ([137.220.119.58]) by smtp.gmail.com with ESMTPSA id c18-20020adfe712000000b0032da49e18fasm3185787wrm.23.2023.10.18.17.00.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 17:00:42 -0700 (PDT) From: luca.boccassi@gmail.com To: Brian Dooley Cc: Ciara Power , dpdk stable Subject: patch 'test/crypto: skip some synchronous tests with CPU crypto' has been queued to stable release 20.11.10 Date: Thu, 19 Oct 2023 00:59:11 +0100 Message-Id: <20231018235930.3144-22-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231018235930.3144-1-luca.boccassi@gmail.com> References: <20231018235930.3144-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 20.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/21/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/d513b356f406691db94c8e141dd3c594c991d0b6 Thanks. Luca Boccassi --- >From d513b356f406691db94c8e141dd3c594c991d0b6 Mon Sep 17 00:00:00 2001 From: Brian Dooley Date: Tue, 19 Sep 2023 10:42:17 +0000 Subject: [PATCH] test/crypto: skip some synchronous tests with CPU crypto [ upstream commit 38318ce05459391344acb53a73c9a99537a0bd0f ] 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") Signed-off-by: Brian Dooley Acked-by: Ciara Power --- 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 2e76763e09..694ba45e85 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -3673,6 +3673,9 @@ test_kasumi_decryption(const struct kasumi_test_data *tdata) unsigned ciphertext_len; struct rte_cryptodev_info dev_info; + 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; @@ -4997,6 +5000,9 @@ test_kasumi_auth_cipher(const struct kasumi_test_data *tdata, &cap_idx) == NULL) return -ENOTSUP; + 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.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-10-19 00:28:57.347017140 +0100 +++ 0022-test-crypto-skip-some-synchronous-tests-with-CPU-cry.patch 2023-10-19 00:28:56.261805684 +0100 @@ -1 +1 @@ -From 38318ce05459391344acb53a73c9a99537a0bd0f Mon Sep 17 00:00:00 2001 +From d513b356f406691db94c8e141dd3c594c991d0b6 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 38318ce05459391344acb53a73c9a99537a0bd0f ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 8fc90342de..aff1c8e55b 100644 +index 2e76763e09..694ba45e85 100644 @@ -22,3 +23,3 @@ -@@ -6394,6 +6394,9 @@ test_zuc_auth_cipher(const struct wireless_test_data *tdata, - tdata->digest.len) < 0) - return TEST_SKIPPED; +@@ -3673,6 +3673,9 @@ test_kasumi_decryption(const struct kasumi_test_data *tdata) + unsigned ciphertext_len; + struct rte_cryptodev_info dev_info; @@ -30 +30,0 @@ - @@ -32,3 +32,4 @@ -@@ -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; + +@@ -4997,6 +5000,9 @@ test_kasumi_auth_cipher(const struct kasumi_test_data *tdata, + &cap_idx) == NULL) + return -ENOTSUP;