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 2E83EA00C2 for ; Thu, 3 Nov 2022 10:29:21 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A07A40693; Thu, 3 Nov 2022 10:29:21 +0100 (CET) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mails.dpdk.org (Postfix) with ESMTP id 4486740DF7 for ; Thu, 3 Nov 2022 10:29:20 +0100 (CET) Received: by mail-wr1-f50.google.com with SMTP id l14so1739401wrw.2 for ; Thu, 03 Nov 2022 02:29:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=txF6h/rPVmoc3q5wlVvVIru7IhP/eLCbwGa6CstzIQY=; b=Rb+PlPBjrDrK+7fQZV5v+x4TvOCt2RQfLf5CD8BvN80PWy0Tl61Eh4JFtYjsyBjC48 Cjti/vcOVaowmNqVA0Tj6DoLYOJl/PRIlhTIXOP7s/ApvymBXpZ7edMQqzfwACvUc/iX AiQgo2vEOh+chmkJCM+RtuE1OlFxdu++A/hzkZ49kK5IDZypVgR3BYkjhQgev1sbKqRX I/mE4Z1ReZ2ECN/LOPAji/4TMXiaZzNgcncMPw0e4vSmUy4TiMio5u0A8pOFL/tkBc/N disUp4ZioXSjVdXp/x7O65I5LsN1CEnjCBvQN2TH2hEkbCIuM7iJ8Ti1PfglgiRTnve1 25BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=txF6h/rPVmoc3q5wlVvVIru7IhP/eLCbwGa6CstzIQY=; b=VAM5/8UCTM6D+HNUOp4GvVZMXDQQtKbI6hBwWm3O/585cP4P8tFLFu86SUrQvoH4pO FlQI68a2lNBawRTdY2W1+MZ65Z9nH3WyZhKTwFTypXQfyWXOFQUniqyGJaoXyLhgOx0I ucE/QjaLMaw7O+frTI5gSvtIHfPfaPUe+QW047Ir59c8RQhOmAFLSBNhkX3zknEK3lKE sPl5ChBUItEh/dfhuPOkOu6002xxUFqd45BDs+yNZ2aY6pxBfIQ7QLDBUXsdrYx6Ljhj kQ34mBRvO+LjV/GF97WZHI0JX0jpuMw1uOe7Dj06waDm6BHsy0jpPyLLQXy2Cmhdq/3m B5/g== X-Gm-Message-State: ACrzQf2ooGV8VsndKWnH12a4+7YY5EqvaPFWaYCjguyPq8TxqnCxi3YU Ueb12nSUogWk+JerGWKxf5Q= X-Google-Smtp-Source: AMsMyM5D2vxC8eSTd2iT2Wk4CcHNUX15zJKtfuwujcV0h6UbED0X7fM5GbcX+W9rU4eaO2585fPKBA== X-Received: by 2002:a5d:4c52:0:b0:236:60e8:72e with SMTP id n18-20020a5d4c52000000b0023660e8072emr18196245wrt.573.1667467759922; Thu, 03 Nov 2022 02:29:19 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id hg7-20020a05600c538700b003cf7055c014sm714803wmb.1.2022.11.03.02.29.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 02:29:19 -0700 (PDT) From: luca.boccassi@gmail.com To: Jeremy Spewock Cc: Owen Hilyard , Ruifeng Wang , dpdk stable Subject: patch 'test/ipsec: skip if no compatible device' has been queued to stable release 20.11.7 Date: Thu, 3 Nov 2022 09:26:40 +0000 Message-Id: <20221103092758.1099402-22-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221103092758.1099402-1-luca.boccassi@gmail.com> References: <20221103092758.1099402-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.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/05/22. 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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/f8cc9121cf3caffb625f6e028c9fd2690ccceb0f Thanks. Luca Boccassi --- >From f8cc9121cf3caffb625f6e028c9fd2690ccceb0f Mon Sep 17 00:00:00 2001 From: Jeremy Spewock Date: Tue, 12 Jul 2022 10:17:01 -0400 Subject: [PATCH] test/ipsec: skip if no compatible device [ upstream commit 37edccf8f79d7a8d0cbb00907a93ec9b9f476ed3 ] ipsec_autotest is now skipped if no compatible crypto devices are found. Fixes issue where if at least one crypto device was found but no compatible crypto devices for the ipsec_autotest test case are present, the case would fail with no error message. Now, when this situation is encountered, the test case will be skipped with an explanation. Fixes: 59d7353b0df0 ("test/ipsec: fix test suite setup") Signed-off-by: Jeremy Spewock Signed-off-by: Owen Hilyard Reviewed-by: Ruifeng Wang --- app/test/test_ipsec.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c index 39531ff667..6c0f880765 100644 --- a/app/test/test_ipsec.c +++ b/app/test/test_ipsec.c @@ -310,8 +310,10 @@ testsuite_setup(void) } } - if (ts_params->valid_dev_found == 0) - return TEST_FAILED; + if (ts_params->valid_dev_found == 0) { + RTE_LOG(WARNING, USER1, "No compatible crypto device found.\n"); + return TEST_SKIPPED; + } ts_params->mbuf_pool = rte_pktmbuf_pool_create( "CRYPTO_MBUFPOOL", -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-03 09:27:26.780085657 +0000 +++ 0022-test-ipsec-skip-if-no-compatible-device.patch 2022-11-03 09:27:25.333421666 +0000 @@ -1 +1 @@ -From 37edccf8f79d7a8d0cbb00907a93ec9b9f476ed3 Mon Sep 17 00:00:00 2001 +From f8cc9121cf3caffb625f6e028c9fd2690ccceb0f Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 37edccf8f79d7a8d0cbb00907a93ec9b9f476ed3 ] + @@ -14 +15,0 @@ -Cc: stable@dpdk.org @@ -24 +25 @@ -index 7047e17960..7c03a06785 100644 +index 39531ff667..6c0f880765 100644 @@ -27 +28 @@ -@@ -320,8 +320,10 @@ testsuite_setup(void) +@@ -310,8 +310,10 @@ testsuite_setup(void)