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 B2DCEA0544 for ; Fri, 11 Nov 2022 12:39:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE58140141; Fri, 11 Nov 2022 12:39:53 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 77BC840141 for ; Fri, 11 Nov 2022 12:39:52 +0100 (CET) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 3644B3F0C8 for ; Fri, 11 Nov 2022 11:39:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1668166791; bh=c1Kwp0cCtk5pw2+tg3p46fCkrKwNH03WEq97V7FgzMQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BcPZqUm36jAgmqCrtaDh9LA711waWoHOH/6lNR5dk0EDRrojgmF/YAJhfLao3et/R UViSFKsUBoMuiBwTlQeYIHBzLqeO28IK/4Pp7errUlLf1BE9uhRPUZy3EGXU6EhvUh 7cDZQ0OrMUcnmzfgdeVk1H/2Q991cqNaBXM/r7oOevEQl13ZSIMHZBqlcLsFNz+jTw LFxyghTXX8XxzHQwSPXHupXT2jjN2w7CLyCfSnm8ckeBC3bG/0UJdRMxNtK6oubmNR Zv9dFEz+Ce+B5r5iWtmZg8leLWrJrAZMhDtxufyMbYrbYyJWW5gKAI/9GtbU93L90h elTfNs1VPMCGw== Received: by mail-ed1-f72.google.com with SMTP id b14-20020a056402278e00b004621a2642d7so3465539ede.1 for ; Fri, 11 Nov 2022 03:39:51 -0800 (PST) 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=c1Kwp0cCtk5pw2+tg3p46fCkrKwNH03WEq97V7FgzMQ=; b=U9KpkQWZ1yDdr5E6vV9Iwm2pvKsix0LEKU8wvKjOkVwn3yBvFK3Lng1yeBJOlbARxo JzsJ0R006k6/h64o/sAVOEiYK2VKj+GrGJwkbDCYuC+iL0i/3CLKAYCWMWaXddvBSVrk yP4eF5JXxHRwB0fuYle3egj7QAzuSgsXZLw4RuY89pDJEJxqyzwSCPN9pEYSVy+btZj+ sCbF8I0nFh65OGchbvGmX5+3gn1MZU8de4GUcP9WMHkg4y6MtnrzHT0E/dYKYQhtrBPb EG46nLWmYmEWeVoRrWIcyarJj4heIcaxpiOhn5VkeJoS0h4sgUlMVpzZnYiZbqcWY7Mp hxiw== X-Gm-Message-State: ANoB5pnhU8lmBQbULrl2g2RQCrjCJ38k6rPlezqLA0gdryq2Tcl9UMzG m6jeFwSfA3IIDKKPeafOp0KnzePpjPirOlwqt/lDXjcT255Aw6JnpKL4LHSujAcsukz8ICDe/iM RUs36LahRRQWHtvnxj8D/UVH0 X-Received: by 2002:a17:906:71d2:b0:78c:2b55:59be with SMTP id i18-20020a17090671d200b0078c2b5559bemr1557179ejk.2.1668166790958; Fri, 11 Nov 2022 03:39:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf4mHhXxAfSvDJiHl6uu10puX4iq8yYD7fBk1FwTxwDwjvdxh2V81ywyaLBYlZSqYNVHFGGoHg== X-Received: by 2002:a17:906:71d2:b0:78c:2b55:59be with SMTP id i18-20020a17090671d200b0078c2b5559bemr1557168ejk.2.1668166790697; Fri, 11 Nov 2022 03:39:50 -0800 (PST) Received: from localhost.localdomain ([2a02:6d40:39af:c100:1891:6c61:50fd:e567]) by smtp.gmail.com with ESMTPSA id v17-20020a1709067d9100b0074134543f82sm796944ejo.90.2022.11.11.03.39.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 03:39:49 -0800 (PST) From: christian.ehrhardt@canonical.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 19.11.14 Date: Fri, 11 Nov 2022 12:38:29 +0100 Message-Id: <20221111113904.1549618-12-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221111113904.1549618-1-christian.ehrhardt@canonical.com> References: <20221111113904.1549618-1-christian.ehrhardt@canonical.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 19.11.14 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/18/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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/d6e07e9b1b8c1bc935da87ea725ad67fe6caece9 Thanks. Christian Ehrhardt --- >From d6e07e9b1b8c1bc935da87ea725ad67fe6caece9 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 65924b0572..9572098bd8 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.38.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-11 12:35:05.205091045 +0100 +++ 0012-test-ipsec-skip-if-no-compatible-device.patch 2022-11-11 12:35:04.725191797 +0100 @@ -1 +1 @@ -From 37edccf8f79d7a8d0cbb00907a93ec9b9f476ed3 Mon Sep 17 00:00:00 2001 +From d6e07e9b1b8c1bc935da87ea725ad67fe6caece9 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 65924b0572..9572098bd8 100644 @@ -27 +28 @@ -@@ -320,8 +320,10 @@ testsuite_setup(void) +@@ -310,8 +310,10 @@ testsuite_setup(void)