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 1771442CBC for ; Thu, 15 Jun 2023 03:35:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1338142D52; Thu, 15 Jun 2023 03:35:15 +0200 (CEST) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mails.dpdk.org (Postfix) with ESMTP id 2A30E40DDA for ; Thu, 15 Jun 2023 03:35:14 +0200 (CEST) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-3f8d17639feso14048405e9.2 for ; Wed, 14 Jun 2023 18:35:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686792914; x=1689384914; 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=F3yUgYm7cw8XkVxxBCFJEigAxIpyPbhBm5o8TkuRu90=; b=KOVfbs7NQeI/2UgLHCkTGyAoCtjejgHR4YIwNog8itZHQT41v3bEs01L/oV8iyYcUr mADyxm7sRo0PXa/OJr3TDQbQOa9D6vaDro5qKuSKMd0I0U3EuqRhhUfovJwRRIdzXqug JBSf7/4/ReHAUU7sUPbOFkVKlESfDaGVhVVVIavIPRRbOqClyCvgeEvjm7W9qIQWFuLd D/MzWNcvTd+M3kyWFQKKH5GrqOSDXR+lzuWrMIkADkzbJaL6yxN39RCr84ht0vVvKekL gVENVLznPLSVqPBsCBPcoLWPLy6nTV7ePTTvkPDGMUfnHCMFWk15oLSPLxgx5ImTPMAQ xsEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686792914; x=1689384914; 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=F3yUgYm7cw8XkVxxBCFJEigAxIpyPbhBm5o8TkuRu90=; b=VnjnWnb+vo8pEaNsUsujEFCUMfq6EarRFdU1PeLSJwLW1KNxmNR+CHAmAlt+b7tr6m sORhBMrM7+oV8fPVgt2W42fZQNnMIjzDePwfKybxLJNsq/Fnf+2aztFJdSGw/2uB7ldx Y7QHD3eZG0BCzbh5v6Ld0NtAfdsqJcq9hFf+sTff/nSnlyFPymEH7PgijSHrltTqAA+h ZeVqMuVDL30UwLmdQO7R6vk8YdJolYSaAQlbRxIfC3jZG6Zh1zsSTsuPL4IVGgtbjI6G Ud47xrPkvZlgb1atmqU7rtLru93IhD0orue7sT3r73g55nUjPf9arN6YLdNaHfJPnGNN P+vg== X-Gm-Message-State: AC+VfDweRyz8taTz0l0YDxCNDRSWz5blIpd2hsvSFqwyuvjS3FE/zqDi /XK5HbQvBWM778XYRpICoM8= X-Google-Smtp-Source: ACHHUZ52rn+AC0xpe4BrHGPm5SiawRQ+Hnr+qnuCXR8r71IOMnQRqhgelFqpXU99sZFFFeWtk7yYuQ== X-Received: by 2002:a05:600c:2041:b0:3f8:d0e7:daed with SMTP id p1-20020a05600c204100b003f8d0e7daedmr4808761wmg.19.1686792913858; Wed, 14 Jun 2023 18:35:13 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id h25-20020a1ccc19000000b003f8c5ceeb77sm6968894wmb.21.2023.06.14.18.35.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 18:35:13 -0700 (PDT) From: luca.boccassi@gmail.com To: Tejasree Kondoj Cc: Anoob Joseph , Ciara Power , dpdk stable Subject: patch 'test/crypto: fix session creation check' has been queued to stable release 20.11.9 Date: Thu, 15 Jun 2023 02:32:38 +0100 Message-Id: <20230615013258.1439718-43-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230615013258.1439718-1-luca.boccassi@gmail.com> References: <20230615013258.1439718-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.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/17/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/fc2e56e15aefc4c9d4aa6a23284f3558ae7f0d82 Thanks. Luca Boccassi --- >From fc2e56e15aefc4c9d4aa6a23284f3558ae7f0d82 Mon Sep 17 00:00:00 2001 From: Tejasree Kondoj Date: Fri, 5 May 2023 22:23:48 +0530 Subject: [PATCH] test/crypto: fix session creation check [ upstream commit 142a8f4c578e420b916f84649873f99bad985412 ] Fixing return value if session failure occurs due to unsupported feature. Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations") Signed-off-by: Tejasree Kondoj Acked-by: Anoob Joseph Acked-by: Ciara Power --- app/test/test_cryptodev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index e43ad30bc8..34d162f48f 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -7709,7 +7709,7 @@ test_authenticated_encryption(const struct aead_test_data *tdata) tdata->key.data, tdata->key.len, tdata->aad.len, tdata->auth_tag.len, tdata->iv.len); - if (retval < 0) + if (retval != TEST_SUCCESS) return retval; if (tdata->aad.len > MBUF_SIZE) { @@ -9762,7 +9762,7 @@ test_authenticated_decryption_oop(const struct aead_test_data *tdata) tdata->key.data, tdata->key.len, tdata->aad.len, tdata->auth_tag.len, tdata->iv.len); - if (retval < 0) + if (retval != TEST_SUCCESS) return retval; /* alloc mbuf and set payload */ -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-06-15 01:56:36.895237904 +0100 +++ 0043-test-crypto-fix-session-creation-check.patch 2023-06-15 01:56:34.659543314 +0100 @@ -1 +1 @@ -From 142a8f4c578e420b916f84649873f99bad985412 Mon Sep 17 00:00:00 2001 +From fc2e56e15aefc4c9d4aa6a23284f3558ae7f0d82 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 142a8f4c578e420b916f84649873f99bad985412 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 0b2ce5ea65..bbc7e8dd18 100644 +index e43ad30bc8..34d162f48f 100644 @@ -23 +24 @@ -@@ -8778,7 +8778,7 @@ test_authenticated_encryption(const struct aead_test_data *tdata) +@@ -7709,7 +7709,7 @@ test_authenticated_encryption(const struct aead_test_data *tdata) @@ -32 +33 @@ -@@ -11482,7 +11482,7 @@ test_authenticated_decryption(const struct aead_test_data *tdata) +@@ -9762,7 +9762,7 @@ test_authenticated_decryption_oop(const struct aead_test_data *tdata)