* [PATCH v1 0/1] baseband/acc: fix queue setup failure clean up
@ 2025-03-05 18:27 Nicolas Chautru
2025-03-05 18:27 ` [PATCH v1 1/1] " Nicolas Chautru
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Chautru @ 2025-03-05 18:27 UTC (permalink / raw)
To: dev, maxime.coquelin; +Cc: hernan.vargas, Nicolas Chautru
Hi Maxime,
This is the fix for the regression issue mentioned off list.
This could notably hit when running with bbdev-test over
more than 64 threads.
Thanks
Nic
Nicolas Chautru (1):
baseband/acc: fix queue setup failure clean up
drivers/baseband/acc/rte_vrb_pmd.c | 2 ++
1 file changed, 2 insertions(+)
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v1 1/1] baseband/acc: fix queue setup failure clean up
2025-03-05 18:27 [PATCH v1 0/1] baseband/acc: fix queue setup failure clean up Nicolas Chautru
@ 2025-03-05 18:27 ` Nicolas Chautru
2025-03-06 2:59 ` Patrick Robb
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Chautru @ 2025-03-05 18:27 UTC (permalink / raw)
To: dev, maxime.coquelin; +Cc: hernan.vargas, Nicolas Chautru, stable
Incomplete clean up for vrb2 variant when queue setup fails
to complete successfully.
Fixes: fc65d3dcabe01 ("baseband/acc: refactor queue allocation")
Cc: stable@dpdk.org
Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
---
drivers/baseband/acc/rte_vrb_pmd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c
index 27620ccc10..2c10ef2c94 100644
--- a/drivers/baseband/acc/rte_vrb_pmd.c
+++ b/drivers/baseband/acc/rte_vrb_pmd.c
@@ -1156,6 +1156,8 @@ vrb_queue_setup(struct rte_bbdev *dev, uint16_t queue_id,
free_q:
rte_free(q);
q = NULL;
+ if (d->device_variant == VRB2_VARIANT)
+ d->queue_index[conf->op_type]--;
return ret;
}
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-03-06 3:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-05 18:27 [PATCH v1 0/1] baseband/acc: fix queue setup failure clean up Nicolas Chautru
2025-03-05 18:27 ` [PATCH v1 1/1] " Nicolas Chautru
2025-03-06 2:59 ` Patrick Robb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).