patch 'common/cnxk: fix duplicate mailbox in NPA aura pool init' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Oct 27 12:50:02 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 10/29/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/e1541a78cd3b90fca31b63f603ad2ddae118d12e
Thanks.
Luca Boccassi
---
>From e1541a78cd3b90fca31b63f603ad2ddae118d12e Mon Sep 17 00:00:00 2001
From: Amiya Ranjan Mohakud <amiyaranjan.mohakud at gmail.com>
Date: Fri, 4 Sep 2026 14:51:57 +0530
Subject: [PATCH] common/cnxk: fix duplicate mailbox in NPA aura pool init
[ upstream commit a1ff3ac28b59c71dd5c4d11f7bcf2c873006345e ]
npa_aura_pool_init() allocates the pool init mbox message twice on
non-CN20K platforms. The if/else block at line 106-111 allocates via
the model-specific branch, but the original unconditional allocation
at line 112 was not removed when the CN20K branch was added. This
overwrites pool_init_req, and the orphaned first message is sent to
the AF with uninitialized aura_id, ctype, and op fields, which can
trigger any undesired behavior on CN10K.
Remove the duplicate allocation.
Fixes: 143a419edf35 ("common/cnxk: use new NPA aq enq mbox for CN20K")
Signed-off-by: Amiya Ranjan Mohakud <amiyaranjan.mohakud at gmail.com>
Acked-by: Ashwin Sekhar T K <asekhar at marvell.com>
---
drivers/common/cnxk/roc_npa.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_npa.c b/drivers/common/cnxk/roc_npa.c
index a314ca4dc58..ddc10cba844 100644
--- a/drivers/common/cnxk/roc_npa.c
+++ b/drivers/common/cnxk/roc_npa.c
@@ -109,7 +109,6 @@ npa_aura_pool_init(struct mbox *m_box, uint32_t aura_id, struct npa_aura_s *aura
} else {
pool_init_req = mbox_alloc_msg_npa_aq_enq(mbox);
}
- pool_init_req = mbox_alloc_msg_npa_aq_enq(mbox);
if (pool_init_req == NULL)
goto exit;
pool_init_req->aura_id = aura_id;
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-10-27 11:43:57.918795696 +0000
+++ 0108-common-cnxk-fix-duplicate-mailbox-in-NPA-aura-pool-i.patch 2026-10-27 11:43:53.642063410 +0000
@@ -1 +1 @@
-From a1ff3ac28b59c71dd5c4d11f7bcf2c873006345e Mon Sep 17 00:00:00 2001
+From e1541a78cd3b90fca31b63f603ad2ddae118d12e Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit a1ff3ac28b59c71dd5c4d11f7bcf2c873006345e ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
@@ -26 +27 @@
-index 4a3e96a97a..87f7637e9f 100644
+index a314ca4dc58..ddc10cba844 100644
@@ -29 +30 @@
-@@ -110,7 +110,6 @@ npa_aura_pool_init(struct mbox *m_box, uint32_t aura_id, struct npa_aura_s *aura
+@@ -109,7 +109,6 @@ npa_aura_pool_init(struct mbox *m_box, uint32_t aura_id, struct npa_aura_s *aura
More information about the stable
mailing list