patch 'test/event: fix crypto null device creation' has been queued to stable release 22.11.4
Xueming Li
xuemingl at nvidia.com
Sun Oct 22 16:21:27 CEST 2023
Hi,
FYI, your patch has been queued to stable release 22.11.4
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/15/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://git.dpdk.org/dpdk-stable/log/?h=22.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=bb60e982129cd7259a3f52746a5608c8de6dad59
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From bb60e982129cd7259a3f52746a5608c8de6dad59 Mon Sep 17 00:00:00 2001
From: Aakash Sasidharan <asasidharan at marvell.com>
Date: Tue, 22 Aug 2023 18:46:49 +0530
Subject: [PATCH] test/event: fix crypto null device creation
Cc: Xueming Li <xuemingl at nvidia.com>
[ 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 <asasidharan at marvell.com>
Acked-by: Anoob Joseph <anoobj at marvell.com>
Acked-by: Abhinandan Gujjar <abhinandan.gujjar at intel.com>
---
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 a38e389abd..3d720fe68b 100644
--- a/app/test/test_event_crypto_adapter.c
+++ b/app/test/test_event_crypto_adapter.c
@@ -958,11 +958,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.25.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2023-10-22 22:17:36.537920100 +0800
+++ 0058-test-event-fix-crypto-null-device-creation.patch 2023-10-22 22:17:34.276723700 +0800
@@ -1 +1 @@
-From cf57682e1b6fea41566325eb92b0978bd0209904 Mon Sep 17 00:00:00 2001
+From bb60e982129cd7259a3f52746a5608c8de6dad59 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit cf57682e1b6fea41566325eb92b0978bd0209904 ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +22 @@
-index 00b20fa443..0c56744ba0 100644
+index a38e389abd..3d720fe68b 100644
@@ -23 +25 @@
-@@ -1072,11 +1072,10 @@ configure_cryptodev(void)
+@@ -958,11 +958,10 @@ configure_cryptodev(void)
More information about the stable
mailing list