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

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:04:57 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.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 12/08/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/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/c5bbe77818964d5393e6208215b922356642e311

Thanks.

Kevin

---
>From c5bbe77818964d5393e6208215b922356642e311 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 3d411cd25f..255e0971b8 100644
--- a/drivers/baseband/acc/acc_common.h
+++ b/drivers/baseband/acc/acc_common.h
@@ -1603,5 +1603,5 @@ 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;
 }
 
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:49.684154430 +0000
+++ 0371-baseband-acc-fix-available-descriptor-count-for-dequ.patch	2026-12-03 12:52:39.283992570 +0000
@@ -1 +1 @@
-From 2bebe6e4249fbc607dbd2f89f41fe984bac4b25c Mon Sep 17 00:00:00 2001
+From c5bbe77818964d5393e6208215b922356642e311 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 2bebe6e4249fbc607dbd2f89f41fe984bac4b25c ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list