patch 'bus/ifpga: remove unused AFU lookup helper' has been queued to stable release 24.11.7
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Thu Jun 11 15:20:18 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/cf17d7d19f5f31f3ce5dec488dcaa265d7c18a24
Thanks.
Luca Boccassi
---
>From cf17d7d19f5f31f3ce5dec488dcaa265d7c18a24 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Fri, 17 Apr 2026 17:10:02 +0200
Subject: [PATCH] bus/ifpga: remove unused AFU lookup helper
[ upstream commit d78eb9dded5357922e96f1e27be15d1ab529a32f ]
This helper got left behind after another cleanup.
Fixes: 8418c92811b4 ("net/ipn3ke: remove configuration for i40e port bonding")
Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/bus/ifpga/bus_ifpga_driver.h | 10 ----------
drivers/bus/ifpga/ifpga_bus.c | 12 ------------
drivers/bus/ifpga/version.map | 1 -
3 files changed, 23 deletions(-)
diff --git a/drivers/bus/ifpga/bus_ifpga_driver.h b/drivers/bus/ifpga/bus_ifpga_driver.h
index af151ffd4b..36285b1f59 100644
--- a/drivers/bus/ifpga/bus_ifpga_driver.h
+++ b/drivers/bus/ifpga/bus_ifpga_driver.h
@@ -116,16 +116,6 @@ rte_ifpga_device_name(const struct rte_afu_device *afu)
return NULL;
}
-/**
- * Find AFU by AFU name.
- *
- * @param name
- * A pointer to AFU name string.
- */
-__rte_internal
-struct rte_afu_device *
-rte_ifpga_find_afu_by_name(const char *name);
-
/**
* Register a ifpga afu device driver.
*
diff --git a/drivers/bus/ifpga/ifpga_bus.c b/drivers/bus/ifpga/ifpga_bus.c
index bf90d1f707..89b24e8ca4 100644
--- a/drivers/bus/ifpga/ifpga_bus.c
+++ b/drivers/bus/ifpga/ifpga_bus.c
@@ -71,18 +71,6 @@ ifpga_find_afu_dev(const struct rte_rawdev *rdev,
return NULL;
}
-struct rte_afu_device *
-rte_ifpga_find_afu_by_name(const char *name)
-{
- struct rte_afu_device *afu_dev = NULL;
-
- TAILQ_FOREACH(afu_dev, &ifpga_afu_dev_list, next) {
- if (!strcmp(afu_dev->device.name, name))
- return afu_dev;
- }
- return NULL;
-}
-
static const char * const valid_args[] = {
#define IFPGA_ARG_NAME "ifpga"
IFPGA_ARG_NAME,
diff --git a/drivers/bus/ifpga/version.map b/drivers/bus/ifpga/version.map
index 3d1943afe4..a38f473cc8 100644
--- a/drivers/bus/ifpga/version.map
+++ b/drivers/bus/ifpga/version.map
@@ -3,7 +3,6 @@ INTERNAL {
rte_ifpga_driver_register;
rte_ifpga_driver_unregister;
- rte_ifpga_find_afu_by_name;
local: *;
};
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-06-11 14:20:04.055862229 +0100
+++ 0069-bus-ifpga-remove-unused-AFU-lookup-helper.patch 2026-06-11 14:20:01.282747635 +0100
@@ -1 +1 @@
-From d78eb9dded5357922e96f1e27be15d1ab529a32f Mon Sep 17 00:00:00 2001
+From cf17d7d19f5f31f3ce5dec488dcaa265d7c18a24 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit d78eb9dded5357922e96f1e27be15d1ab529a32f ]
+
@@ -14,2 +16,3 @@
- drivers/bus/ifpga/ifpga_bus.c | 13 -------------
- 2 files changed, 23 deletions(-)
+ drivers/bus/ifpga/ifpga_bus.c | 12 ------------
+ drivers/bus/ifpga/version.map | 1 -
+ 3 files changed, 23 deletions(-)
@@ -18 +21 @@
-index d34ab8cec1..c0f5fb5b85 100644
+index af151ffd4b..36285b1f59 100644
@@ -39 +42 @@
-index ca2812a960..5cc1207c46 100644
+index bf90d1f707..89b24e8ca4 100644
@@ -42 +45 @@
-@@ -74,19 +74,6 @@ ifpga_find_afu_dev(const struct rte_rawdev *rdev,
+@@ -71,18 +71,6 @@ ifpga_find_afu_dev(const struct rte_rawdev *rdev,
@@ -46 +48,0 @@
--RTE_EXPORT_INTERNAL_SYMBOL(rte_ifpga_find_afu_by_name)
@@ -61,0 +64,12 @@
+diff --git a/drivers/bus/ifpga/version.map b/drivers/bus/ifpga/version.map
+index 3d1943afe4..a38f473cc8 100644
+--- a/drivers/bus/ifpga/version.map
++++ b/drivers/bus/ifpga/version.map
+@@ -3,7 +3,6 @@ INTERNAL {
+
+ rte_ifpga_driver_register;
+ rte_ifpga_driver_unregister;
+- rte_ifpga_find_afu_by_name;
+
+ local: *;
+ };
More information about the stable
mailing list