patch 'test/crypto: remove unused stats in setup' has been queued to stable release 22.11.6

luca.boccassi at gmail.com luca.boccassi at gmail.com
Wed Jul 24 13:32:44 CEST 2024


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 <gmuthukrishn at marvell.com>
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 <gmuthukrishn at marvell.com>
Acked-by: Anoob Joseph <anoobj at marvell.com>
---
 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 at 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 @@
- }


More information about the stable mailing list