patch 'baseband/acc: fix available descriptor count for dequeue' has been queued to stable release 24.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Nov 16 23:51:24 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.11.9

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/18/26. 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/53ecd6fab0ae09f04736a6faee58fa2f6579f836

Thanks.

Luca Boccassi

---
>From 53ecd6fab0ae09f04736a6faee58fa2f6579f836 Mon Sep 17 00:00:00 2001
From: Hernan Vargas <hernan.vargas at intel.com>
Date: Tue, 3 Nov 2026 09:28:59 -0800
Subject: [PATCH] baseband/acc: fix available descriptor count for dequeue

[ upstream commit 2bebe6e4249fbc607dbd2f89f41fe984bac4b25c ]

Fix to the computation of available dequeue size.
Protects notably for possible negative scenarios when dequeuing
descriptors.

Fixes: e640f6cdfa84 ("baseband/acc200: add LDPC processing")

Signed-off-by: Hernan Vargas <hernan.vargas at intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
---
 drivers/baseband/acc/acc_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/baseband/acc/acc_common.h b/drivers/baseband/acc/acc_common.h
index bf218332be..beced34fea 100644
--- a/drivers/baseband/acc/acc_common.h
+++ b/drivers/baseband/acc/acc_common.h
@@ -1546,7 +1546,7 @@ acc_ring_avail_enq(struct acc_queue *q)
 static inline uint32_t
 acc_ring_avail_deq(struct acc_queue *q)
 {
-	return (q->sw_ring_depth + q->sw_ring_head - q->sw_ring_tail) & q->sw_ring_wrap_mask;
+	return (q->sw_ring_head - q->sw_ring_tail) & q->sw_ring_wrap_mask;
 }
 
 /* Check room in AQ for the enqueues batches into Qmgr */
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-11-16 22:52:16.927517847 +0000
+++ 0010-baseband-acc-fix-available-descriptor-count-for-dequ.patch	2026-11-16 22:52:16.420231683 +0000
@@ -1 +1 @@
-From 2bebe6e4249fbc607dbd2f89f41fe984bac4b25c Mon Sep 17 00:00:00 2001
+From 53ecd6fab0ae09f04736a6faee58fa2f6579f836 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 2bebe6e4249fbc607dbd2f89f41fe984bac4b25c ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index 3d411cd25f..255e0971b8 100644
+index bf218332be..beced34fea 100644
@@ -23 +24 @@
-@@ -1602,7 +1602,7 @@ acc_ring_avail_enq(struct acc_queue *q)
+@@ -1546,7 +1546,7 @@ acc_ring_avail_enq(struct acc_queue *q)


More information about the stable mailing list