patch 'net/atlantic: fix mbox mutex for multi-process' has been queued to stable release 24.11.7
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Thu Jun 11 15:19:33 CEST 2026
Hi,
FYI, your patch has been queued to stable release 24.11.7
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/13/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/ef5d513e4f88d0351b15ee333beabd5e2831d844
Thanks.
Luca Boccassi
---
>From ef5d513e4f88d0351b15ee333beabd5e2831d844 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Wed, 29 Apr 2026 11:46:41 -0700
Subject: [PATCH] net/atlantic: fix mbox mutex for multi-process
[ upstream commit 3ee53df7864c7f1ddcf3d848daeec43afa2cd6bc ]
The Atlantic driver supports secondary processes. The mbox_mutex in
aq_hw_s lives in dev_private (shared memory) and must be initialized
with PTHREAD_PROCESS_SHARED.
Bugzilla ID: 662
Fixes: e9924638f5c9 ("net/atlantic: add FW mailbox guard mutex")
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>
---
drivers/net/atlantic/atl_ethdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c
index 9cde935834..627903a180 100644
--- a/drivers/net/atlantic/atl_ethdev.c
+++ b/drivers/net/atlantic/atl_ethdev.c
@@ -5,6 +5,7 @@
#include <rte_string_fns.h>
#include <ethdev_pci.h>
#include <rte_alarm.h>
+#include <rte_thread.h>
#include "atl_ethdev.h"
#include "atl_common.h"
@@ -405,7 +406,7 @@ eth_atl_dev_init(struct rte_eth_dev *eth_dev)
hw->aq_nic_cfg = &adapter->hw_cfg;
- pthread_mutex_init(&hw->mbox_mutex, NULL);
+ rte_thread_mutex_init_shared(&hw->mbox_mutex);
/* disable interrupt */
atl_disable_intr(hw);
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-06-11 14:20:02.301985489 +0100
+++ 0024-net-atlantic-fix-mbox-mutex-for-multi-process.patch 2026-06-11 14:20:01.190745399 +0100
@@ -1 +1 @@
-From 3ee53df7864c7f1ddcf3d848daeec43afa2cd6bc Mon Sep 17 00:00:00 2001
+From ef5d513e4f88d0351b15ee333beabd5e2831d844 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 3ee53df7864c7f1ddcf3d848daeec43afa2cd6bc ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index 2925dc2478..f8744da221 100644
+index 9cde935834..627903a180 100644
More information about the stable
mailing list