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 177CB431A0 for ; Thu, 19 Oct 2023 02:00:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 10C3240ED0; Thu, 19 Oct 2023 02:00:48 +0200 (CEST) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mails.dpdk.org (Postfix) with ESMTP id 64D3740A8B for ; Thu, 19 Oct 2023 02:00:46 +0200 (CEST) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-32d80ae19f8so5729775f8f.2 for ; Wed, 18 Oct 2023 17:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697673646; x=1698278446; 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=QWSMvCB0tI2ApMMhm80JqI7UH83bhRdlTy764yrHGAI=; b=c55N55Mv7JbYIGMmv+/bqBdG+S3ECU17/2Gt/bcZKQCNsiWV/KUfjuW+BFf05Zbuiq ghZwB9JQFBIF0EIMLGISPsUgk9dNJuXbZov/9T3yxVJausnfRSzI3+yeqpjTmkoZhckR 4FywhmUGkAJuUidsB9in8i2GFIjJOg7iET4mJQChHQqqTKNop1YeeUOEe7H10h6xiMYF +lvYXD8htc0Vn4+abNjl4skKEzQmbqGEhMo5ht7OzfIQS/9lOZFe91uy84VXczB8yZIx 3kvRlGMPN6K8F4IYWmBr+fI7c4I72KffzT57vCAFmvhEuYxzdGjy//PHEZm4UztV6vx+ 07nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697673646; x=1698278446; 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=QWSMvCB0tI2ApMMhm80JqI7UH83bhRdlTy764yrHGAI=; b=f/7jDrNW2Os6V0IwOE2BguqSzopRh0gqboIIwSunKk7kYZHPlDNUXmKp7IPbaTreSv R4Z63sf0fhGBu5Ja9NNUMvTMxFhcK40XCjfsjNBKjFvzUKpIKAAr19m2jtXyiBy8B1Yq ISBFu9xKu8ZLdbRBp4qTWluCfmpEvZIQt0tIGFGMb7yW6lYdI5p+Ssm3VocW7KbPg8Sj kqqOZlbTlN/mgkXlak/sjBMbmYiKJFv8AKzyS6xwAFheMSmdsCxt+zvvVuum30pPy5Hs m+lSpxQPACSC99A2NRSfJJv6wxEsjSFYuFnGTgeDJYonZNFJjYY6sIuK91y9zRLVZ5As W6sg== X-Gm-Message-State: AOJu0YxqsPebOhSHf1L64hQOM9sasXRLlXQIbXxO7Auo/VO/f+Sxt7T1 By1nEGVvZZWWsqHk+GUoWMozYqenpWOrlw== X-Google-Smtp-Source: AGHT+IEOYBbgohc/MB8qosrZd2G2OuBo/JYggrOd05SEUCXTb3FPz4vfxCmwdmDTgl2+3YsITNYH5g== X-Received: by 2002:a05:6000:1370:b0:32d:4545:3832 with SMTP id q16-20020a056000137000b0032d45453832mr439297wrz.14.1697673646050; Wed, 18 Oct 2023 17:00:46 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id x12-20020a5d444c000000b0032da022855fsm3147599wrr.111.2023.10.18.17.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 17:00:45 -0700 (PDT) From: luca.boccassi@gmail.com To: Aakash Sasidharan Cc: Anoob Joseph , Abhinandan Gujjar , dpdk stable Subject: patch 'test/event: fix crypto null device creation' has been queued to stable release 20.11.10 Date: Thu, 19 Oct 2023 00:59:14 +0100 Message-Id: <20231018235930.3144-25-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/82721cbd5ce3e91912f39ad024d88b683f729bf3 Thanks. Luca Boccassi --- >From 82721cbd5ce3e91912f39ad024d88b683f729bf3 Mon Sep 17 00:00:00 2001 From: Aakash Sasidharan Date: Tue, 22 Aug 2023 18:46:49 +0530 Subject: [PATCH] test/event: fix crypto null device creation [ upstream commit cf57682e1b6fea41566325eb92b0978bd0209904 ] Create crypto null device only if no other crypto devices were found. Fixes: 3c2c535ecfc0 ("test: add event crypto adapter auto-test") Signed-off-by: Aakash Sasidharan Acked-by: Anoob Joseph Acked-by: Abhinandan Gujjar --- app/test/test_event_crypto_adapter.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c index c7517e215c..061faf39bd 100644 --- a/app/test/test_event_crypto_adapter.c +++ b/app/test/test_event_crypto_adapter.c @@ -519,11 +519,10 @@ configure_cryptodev(void) return TEST_FAILED; } - /* Create a NULL crypto device */ - nb_devs = rte_cryptodev_device_count_by_driver( - rte_cryptodev_driver_id_get( - RTE_STR(CRYPTODEV_NAME_NULL_PMD))); + + nb_devs = rte_cryptodev_count(); if (!nb_devs) { + /* Create a NULL crypto device */ ret = rte_vdev_init( RTE_STR(CRYPTODEV_NAME_NULL_PMD), NULL); -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-10-19 00:28:57.506332094 +0100 +++ 0025-test-event-fix-crypto-null-device-creation.patch 2023-10-19 00:28:56.265805790 +0100 @@ -1 +1 @@ -From cf57682e1b6fea41566325eb92b0978bd0209904 Mon Sep 17 00:00:00 2001 +From 82721cbd5ce3e91912f39ad024d88b683f729bf3 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit cf57682e1b6fea41566325eb92b0978bd0209904 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 00b20fa443..0c56744ba0 100644 +index c7517e215c..061faf39bd 100644 @@ -23 +24 @@ -@@ -1072,11 +1072,10 @@ configure_cryptodev(void) +@@ -519,11 +519,10 @@ configure_cryptodev(void)