[PATCH] crypto/scheduler: fix typo

Ji, Kai kai.ji at intel.com
Thu Apr 16 16:04:42 CEST 2026


Acked-by: Kai Ji <kai.ji at intel.com>
________________________________
From: Nicolau, Radu <radu.nicolau at intel.com>
Sent: 16 April 2026 10:57
To: dev at dpdk.org <dev at dpdk.org>
Cc: Nicolau, Radu <radu.nicolau at intel.com>; fanzhang.oss at gmail.com <fanzhang.oss at gmail.com>; stable at dpdk.org <stable at dpdk.org>; Ji, Kai <kai.ji at intel.com>; Akhil Goyal <gakhil at marvell.com>
Subject: [PATCH] crypto/scheduler: fix typo

Small typo, pending_deq_ops used instead of pending_enq_ops.

Bugzilla ID: 1537

Fixes: 6812b9bf470e ("crypto/scheduler: use unified session")
Cc: fanzhang.oss at gmail.com
Cc: stable at dpdk.org

Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
---
 drivers/crypto/scheduler/scheduler_multicore.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/crypto/scheduler/scheduler_multicore.c b/drivers/crypto/scheduler/scheduler_multicore.c
index a21b522f9f..70f8a25b70 100644
--- a/drivers/crypto/scheduler/scheduler_multicore.c
+++ b/drivers/crypto/scheduler/scheduler_multicore.c
@@ -191,11 +191,11 @@ mc_scheduler_worker(struct rte_cryptodev *dev)
                                         worker->qp_id,
                                         &enq_ops[pending_enq_ops_idx],
                                         pending_enq_ops);
-                       if (processed_ops < pending_deq_ops)
+                       if (processed_ops < pending_enq_ops)
                                 scheduler_retrieve_sessions(
                                         &enq_ops[pending_enq_ops_idx +
                                                 processed_ops],
-                                       pending_deq_ops - processed_ops);
+                                       pending_enq_ops - processed_ops);
                         pending_enq_ops -= processed_ops;
                         pending_enq_ops_idx += processed_ops;
                         inflight_ops += processed_ops;
--
2.52.0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/stable/attachments/20260416/e68c5ea3/attachment.htm>


More information about the stable mailing list