patch 'net/dpaa: fix interrupt unregister' has been queued to stable release 24.11.7
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Jul 20 19:03:50 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 07/22/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/60bb0552702a512347303fd69c87a8fde6254580
Thanks.
Luca Boccassi
---
>From 60bb0552702a512347303fd69c87a8fde6254580 Mon Sep 17 00:00:00 2001
From: Gagandeep Singh <g.singh at nxp.com>
Date: Mon, 13 Jul 2026 15:47:38 +0530
Subject: [PATCH] net/dpaa: fix interrupt unregister
[ upstream commit f6fc06e08ebfbe0af544d3515776a54d1a7d7c8c ]
rte_intr_callback_unregister() returns the number of callbacks
removed (>= 1) on success and a negative value on failure. The
previous check 'if (ret)' logged a spurious warning on every
successful unregister. Fix it to 'if (ret < 0)'.
Fixes: 2aa10990a8dd ("bus/dpaa: enable link state interrupt")
Signed-off-by: Gagandeep Singh <g.singh at nxp.com>
---
drivers/net/dpaa/dpaa_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c
index c9beb14475..751d90d7d7 100644
--- a/drivers/net/dpaa/dpaa_ethdev.c
+++ b/drivers/net/dpaa/dpaa_ethdev.c
@@ -570,7 +570,7 @@ static int dpaa_eth_dev_close(struct rte_eth_dev *dev)
}
ret = rte_intr_callback_unregister(intr_handle,
dpaa_interrupt_handler, (void *)dev);
- if (ret) {
+ if (ret < 0) {
DPAA_PMD_WARN("%s: unregister interrupt failed(%d)",
dev->data->name, ret);
}
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-07-20 18:03:25.745278304 +0100
+++ 0006-net-dpaa-fix-interrupt-unregister.patch 2026-07-20 18:03:25.500443159 +0100
@@ -1 +1 @@
-From f6fc06e08ebfbe0af544d3515776a54d1a7d7c8c Mon Sep 17 00:00:00 2001
+From 60bb0552702a512347303fd69c87a8fde6254580 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit f6fc06e08ebfbe0af544d3515776a54d1a7d7c8c ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index da7f65d8af..f679a6e781 100644
+index c9beb14475..751d90d7d7 100644
@@ -23 +24 @@
-@@ -559,7 +559,7 @@ static int dpaa_eth_dev_close(struct rte_eth_dev *dev)
+@@ -570,7 +570,7 @@ static int dpaa_eth_dev_close(struct rte_eth_dev *dev)
More information about the stable
mailing list