patch 'examples/ipsec-secgw: fix number of queue pairs' has been queued to stable release 23.11.5
Xueming Li
xuemingl at nvidia.com
Wed Jul 30 16:56:33 CEST 2025
Hi,
FYI, your patch has been queued to stable release 23.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/10/25. 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=23.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=c650c8ca56f462ae19840937c37b1e1ef918fbd6
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From c650c8ca56f462ae19840937c37b1e1ef918fbd6 Mon Sep 17 00:00:00 2001
From: Volodymyr Fialko <vfialko at marvell.com>
Date: Wed, 9 Jul 2025 10:23:25 +0200
Subject: [PATCH] examples/ipsec-secgw: fix number of queue pairs
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 7e6d6106a4ef052d6a2a6bd6e83c5b16a36c65c9 ]
Fix a mismatch between the signature of the cryptodevs_init() function
and the arguments passed to it during the call. This caused incorrect
initialization of queue pairs in ipsec-secgw example.
Fixes: 253265f8fb97 ("examples/ipsec-secgw: reduce queues for event lookaside")
Cc: stable at dpdk.org
Signed-off-by: Volodymyr Fialko <vfialko at marvell.com>
---
examples/ipsec-secgw/ipsec-secgw.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c
index 5e77d9d2ce..2f25a49eff 100644
--- a/examples/ipsec-secgw/ipsec-secgw.c
+++ b/examples/ipsec-secgw/ipsec-secgw.c
@@ -2994,16 +2994,7 @@ main(int32_t argc, char **argv)
sess_sz = max_session_size();
- /*
- * In event mode request minimum number of crypto queues
- * to be reserved equal to number of ports.
- */
- if (eh_conf->mode == EH_PKT_TRANSFER_MODE_EVENT)
- nb_crypto_qp = rte_eth_dev_count_avail();
- else
- nb_crypto_qp = 0;
-
- nb_crypto_qp = cryptodevs_init(nb_crypto_qp);
+ nb_crypto_qp = cryptodevs_init(eh_conf->mode);
if (nb_bufs_in_pool == 0) {
RTE_ETH_FOREACH_DEV(portid) {
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-07-30 22:50:04.610636394 +0800
+++ 0024-examples-ipsec-secgw-fix-number-of-queue-pairs.patch 2025-07-30 22:50:03.100767144 +0800
@@ -1 +1 @@
-From 7e6d6106a4ef052d6a2a6bd6e83c5b16a36c65c9 Mon Sep 17 00:00:00 2001
+From c650c8ca56f462ae19840937c37b1e1ef918fbd6 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 7e6d6106a4ef052d6a2a6bd6e83c5b16a36c65c9 ]
@@ -19 +22 @@
-index 063cc8768e..fe489f9a56 100644
+index 5e77d9d2ce..2f25a49eff 100644
More information about the stable
mailing list