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 DA0E14569C for ; Wed, 24 Jul 2024 13:33:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D3FEC42F85; Wed, 24 Jul 2024 13:33:42 +0200 (CEST) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mails.dpdk.org (Postfix) with ESMTP id 4A76C42D28 for ; Wed, 24 Jul 2024 13:33:41 +0200 (CEST) Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4266fcb311cso50024255e9.1 for ; Wed, 24 Jul 2024 04:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721820821; x=1722425621; 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=RhxSqlrIpaiTjnvMZx6IGgJaiuuAsIlUNw8GHY27o5A=; b=lfbIBwdG+DDh7M6FPBj+gFbnAT2aD9Yg4zwLLSEiwgu+5z5I0pKfp1vapsAHwpT45A bqRmvbP+t2OSqLGyhEqUO5DDtKshFQHsLpL+cmD2pTUlZNPoLSFOibwnu+vKeXSVSYqO 0+vxLGZMFW6qJUWSVchOrPxYZU9E/cEU8FcWMaMmxmh/gb/41v4UZPLKl3QkgPqsRvd4 q93YniN855ZfMS+SupnqiiWw8PGg1BtCcnCuTtFlRyZCNqpiKuqwkY/t8RSKtiREoOFw sJJz0JMlB1iqmxlxmnH/BpxvAkjFdHPRY1DnjFCd4+AqS1t7R54nCrasaOzHQ5x8oQQo V/tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721820821; x=1722425621; 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=RhxSqlrIpaiTjnvMZx6IGgJaiuuAsIlUNw8GHY27o5A=; b=tVL2m9owmXaVLvHvbI68tsVVD03eFOGfH7AmlsuRrcC5PmScuJSMKVXrIwntDp6TxK ZokSg+WfchbTQvdQ2I54YQNuMEFXIENt/WwQpPLY424nTywK67r71mqRWulZPhSSE6Mx jp4vxNaztmeddHSx+9qpI4NrTM0p/SpC7/1E+tLuCxGuHmKE8ty6sfrzhD5QdWRZNts0 8JDhi8zUFKj7BV0hlUfjzQzQtaTYq6eAH1cG8tQdSOznuo+Ij2LU6SdTG7X45WEFjQCZ d94+MjPMqo3UfyKV6Sw4sFapkL26Tf+RBu7ilOdKScx3e2EGt6e5JEeWPi9EVMLkl0T4 VxzQ== X-Forwarded-Encrypted: i=1; AJvYcCV+GqzYlhT6BsauUuk9lubrFOdGQXkoDehhrQ8f8vh0Imx/2oevFv9NGShgvrs0h6bnqsmFKDOxg1JXfLMk7dI= X-Gm-Message-State: AOJu0YzBwkWL+e4UDswHchxEiObziM+7zW6aBCyHhC5pci0EBeLQvw2Y I24MZjxJh3u7Qr6GX5WdvflCLxiBsgjthP0QkKxeOw7R7owm4cCmj/cEZxKI X-Google-Smtp-Source: AGHT+IG6SEj6Sy7Qjqd7OKsQOc2HU9STY0JcKttsLkaIK95lN5RdSqoJVpjgZlEUxBx2BzaEi4NDow== X-Received: by 2002:a5d:6dae:0:b0:360:7506:2b8 with SMTP id ffacd0b85a97d-369f5bb4dbemr1557910f8f.52.1721820820794; Wed, 24 Jul 2024 04:33:40 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:7aef:1aaa:3dff:d546]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36878695a52sm14155067f8f.64.2024.07.24.04.33.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jul 2024 04:33:40 -0700 (PDT) From: luca.boccassi@gmail.com To: Gowrishankar Muthukrishnan Cc: Anoob Joseph , dpdk stable Subject: patch 'test/crypto: remove unused stats in setup' has been queued to stable release 22.11.6 Date: Wed, 24 Jul 2024 12:32:44 +0100 Message-Id: <20240724113318.616754-6-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/5456b47a3a7b4208723f8664a8c6a80293b95723 Thanks. Luca Boccassi --- >From 5456b47a3a7b4208723f8664a8c6a80293b95723 Mon Sep 17 00:00:00 2001 From: Gowrishankar Muthukrishnan Date: Mon, 15 Jul 2024 19:06:10 +0530 Subject: [PATCH] test/crypto: remove unused stats in setup [ upstream commit cda0736804e1803c0c7176fd0d81e42e50b2d010 ] Remove unused stats in test setup. Coverity issue: 373869 Fixes: 2c6dab9cd93d ("test/crypto: add RSA and Mod tests") Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Anoob Joseph --- app/test/test_cryptodev_asym.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asym.c index b3345c0a39..be104b4952 100644 --- a/app/test/test_cryptodev_asym.c +++ b/app/test/test_cryptodev_asym.c @@ -953,8 +953,6 @@ ut_setup_asym(void) qp_id, ts_params->valid_devs[0]); } - rte_cryptodev_stats_reset(ts_params->valid_devs[0]); - /* Start the device */ TEST_ASSERT_SUCCESS(rte_cryptodev_start(ts_params->valid_devs[0]), "Failed to start cryptodev %u", @@ -967,9 +965,6 @@ static void ut_teardown_asym(void) { struct crypto_testsuite_params_asym *ts_params = &testsuite_params; - struct rte_cryptodev_stats stats; - - rte_cryptodev_stats_get(ts_params->valid_devs[0], &stats); /* Stop the device */ rte_cryptodev_stop(ts_params->valid_devs[0]); -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-07-24 12:29:21.284365669 +0100 +++ 0006-test-crypto-remove-unused-stats-in-setup.patch 2024-07-24 12:29:20.663023958 +0100 @@ -1 +1 @@ -From cda0736804e1803c0c7176fd0d81e42e50b2d010 Mon Sep 17 00:00:00 2001 +From 5456b47a3a7b4208723f8664a8c6a80293b95723 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit cda0736804e1803c0c7176fd0d81e42e50b2d010 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index ef926c6229..3802cf8022 100644 +index b3345c0a39..be104b4952 100644 @@ -22 +23 @@ -@@ -547,8 +547,6 @@ ut_setup_asym(void) +@@ -953,8 +953,6 @@ ut_setup_asym(void) @@ -31 +32 @@ -@@ -561,7 +559,6 @@ static void +@@ -967,9 +965,6 @@ static void @@ -36,8 +36,0 @@ - uint8_t dev_id = ts_params->valid_devs[0]; - - if (self->sess != NULL) -@@ -571,8 +568,6 @@ ut_teardown_asym(void) - self->op = NULL; - self->result_op = NULL; - -- rte_cryptodev_stats_get(ts_params->valid_devs[0], &stats); @@ -44,0 +38,2 @@ +- rte_cryptodev_stats_get(ts_params->valid_devs[0], &stats); + @@ -47 +41,0 @@ - }