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 139994569C for ; Wed, 24 Jul 2024 13:33:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D70D4339C; Wed, 24 Jul 2024 13:33:44 +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 8037642D28 for ; Wed, 24 Jul 2024 13:33:42 +0200 (CEST) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-427d8f1f363so39585715e9.2 for ; Wed, 24 Jul 2024 04:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721820822; x=1722425622; 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=eLoocn5gzv5AiUGbmkW783ev0krVkS2VrR0ExBY+MlU=; b=kJ3JpZWhJhx3E9kFMHZsZH5QbThyVp0yCvKRuZkrzguWiNAZeclV4asTdveREyzHR6 fLA0ySNwVj0ZsZAKGgGI1nT6Ys6GqxOHRUmYAyHQps7rLpm9JNMyu9HQpJM+32FVLZCw hKrSF1oqLjdaq95Js+R7l2KUJhVok/z1lMtpXsBeh6imv2Zd13t1+N2pwRUMuHLK1Awa BSj0C9r1G4HUWhySvhNB2EK66EkhUOvzfbgxAMW7/AXLtpzzXNYBa7YQCGj+1Epw8VnB BRbKJqU3IMLo2S3CuhmetOGxUZQRBxYefA/5N0HKROMNC808ntKS74hwlxrwdpWTwt53 zuxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721820822; x=1722425622; 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=eLoocn5gzv5AiUGbmkW783ev0krVkS2VrR0ExBY+MlU=; b=E8DkKUBQO+o7u3v48tI5vDKMoPgAtAg0W+IX5YUclNI5KpP5y89wXS9Lo10e9kTpRL 5SXs+3b21mTmyPU+McgAzY7+bYked9BqwYWeZma5xT5LyehRja8pr3Cdi8TzvXNrEoRZ jCK5cYB/B2omHRArSH1hoxhjqitLA5iBTEc5QBGPgoglbm2jcwaY7xcEnyMTvu7uA2cb YhCee2SeKdGFFfe5i92jwr/FRFwMI+nCA9iTQgPGpc9Gq1swveJZ94Htqu84HDhT+Rjc 1Imkzns8mPDR4232IArzWeCeX9zlKsSzDfl7Fd4+dzJYveckE69x9bMyN56UyNhoVsgX e+pA== X-Forwarded-Encrypted: i=1; AJvYcCU24R170Zn3bZrrxa7HB96a/QyuQo/oPjJGfo3zyTxaUKZ/z3WtNVWhvSHY51szpuhbDPvSP/L2eKRoZ7ZHRi8= X-Gm-Message-State: AOJu0YxXLSt9HGZySeaJfi9GVt2Bzr61+NmVcvPsShAMNYkYHTjo1Jdr t/X82m1qVG0y/jGUZRHRlm2RgZxrLT39CXXcsgzNRZwS18nkQdE+Kj9ARGs4 X-Google-Smtp-Source: AGHT+IFxbYxqzGb7LWZ7CEvQFr0CVurq6DI3wIeNSKF0j0ulNLbs9vLQatlK6roHdzcECJsIyHB/5A== X-Received: by 2002:a05:600c:1c9a:b0:426:5b29:b5c8 with SMTP id 5b1f17b1804b1-427dc5584e3mr82092145e9.28.1721820821987; Wed, 24 Jul 2024 04:33:41 -0700 (PDT) Received: from localhost ([137.220.120.171]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427f93e5eeasm26054035e9.38.2024.07.24.04.33.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jul 2024 04:33:41 -0700 (PDT) From: luca.boccassi@gmail.com To: Gowrishankar Muthukrishnan Cc: Anoob Joseph , dpdk stable Subject: patch 'test/crypto: fix asymmetric capability test' has been queued to stable release 22.11.6 Date: Wed, 24 Jul 2024 12:32:45 +0100 Message-Id: <20240724113318.616754-7-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240724113318.616754-1-luca.boccassi@gmail.com> References: <20240715152704.2229503-86-luca.boccassi@gmail.com> <20240724113318.616754-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 22.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/26/24. 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/327b33505c5d49c92847b5c9d8961749060540d8 Thanks. Luca Boccassi --- >From 327b33505c5d49c92847b5c9d8961749060540d8 Mon Sep 17 00:00:00 2001 From: Gowrishankar Muthukrishnan Date: Mon, 15 Jul 2024 19:07:25 +0530 Subject: [PATCH] test/crypto: fix asymmetric capability test [ upstream commit 624ce7e33a793d8d6a4ac6b0b8e1c6f2bce7feb1 ] Updated asymmetric capability test for below issues: * Skip test if asymmetric crypto feature is not supported by device. * Assert return value of RTE function to get asymmetric capability. Coverity issue: 373365 Fixes: 2c6dab9cd93d ("test/crypto: add RSA and Mod tests") Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Anoob Joseph --- app/test/test_cryptodev_asym.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asym.c index be104b4952..4c86a2bcec 100644 --- a/app/test/test_cryptodev_asym.c +++ b/app/test/test_cryptodev_asym.c @@ -1023,7 +1023,7 @@ test_capability(void) RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO)) { RTE_LOG(INFO, USER1, "Device doesn't support asymmetric. Test Skipped\n"); - return TEST_SUCCESS; + return TEST_SKIPPED; } /* print xform capability */ @@ -1038,6 +1038,7 @@ test_capability(void) capa = rte_cryptodev_asym_capability_get(dev_id, (const struct rte_cryptodev_asym_capability_idx *) &idx); + TEST_ASSERT_NOT_NULL(capa, "Failed to get asymmetric capability"); print_asym_capa(capa); } } -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-07-24 12:29:21.355112267 +0100 +++ 0007-test-crypto-fix-asymmetric-capability-test.patch 2024-07-24 12:29:20.667024038 +0100 @@ -1 +1 @@ -From 624ce7e33a793d8d6a4ac6b0b8e1c6f2bce7feb1 Mon Sep 17 00:00:00 2001 +From 327b33505c5d49c92847b5c9d8961749060540d8 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 624ce7e33a793d8d6a4ac6b0b8e1c6f2bce7feb1 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index 3802cf8022..1d88832146 100644 +index be104b4952..4c86a2bcec 100644 @@ -24 +25 @@ -@@ -626,7 +626,7 @@ test_capability(void) +@@ -1023,7 +1023,7 @@ test_capability(void) @@ -33 +34 @@ -@@ -641,6 +641,7 @@ test_capability(void) +@@ -1038,6 +1038,7 @@ test_capability(void)