patch 'common/cnxk: fix duplicate mailbox in NPA aura pool init' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:00: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/ede805880449020d872e49f3f216337430a5d8d4

Thanks.

Kevin

---
>From ede805880449020d872e49f3f216337430a5d8d4 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 9ff37790c4..5a25e84fe1 100644
--- a/drivers/common/cnxk/roc_npa.c
+++ b/drivers/common/cnxk/roc_npa.c
@@ -110,5 +110,4 @@ npa_aura_pool_init(struct mbox *m_box, uint32_t aura_id, struct npa_aura_s *aura
 		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;
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:43.022390444 +0000
+++ 0131-common-cnxk-fix-duplicate-mailbox-in-NPA-aura-pool-i.patch	2026-12-03 12:52:39.130032141 +0000
@@ -1 +1 @@
-From a1ff3ac28b59c71dd5c4d11f7bcf2c873006345e Mon Sep 17 00:00:00 2001
+From ede805880449020d872e49f3f216337430a5d8d4 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 9ff37790c4..5a25e84fe1 100644
@@ -29 +30 @@
-@@ -111,5 +111,4 @@ npa_aura_pool_init(struct mbox *m_box, uint32_t aura_id, struct npa_aura_s *aura
+@@ -110,5 +110,4 @@ npa_aura_pool_init(struct mbox *m_box, uint32_t aura_id, struct npa_aura_s *aura



More information about the stable mailing list