git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus/ifpga: support AFU device search by name
[dpdk.git]
/
drivers
/
bus
/
ifpga
/
rte_bus_ifpga.h
diff --git
a/drivers/bus/ifpga/rte_bus_ifpga.h
b/drivers/bus/ifpga/rte_bus_ifpga.h
index
820eeaa
..
88a6289
100644
(file)
--- a/
drivers/bus/ifpga/rte_bus_ifpga.h
+++ b/
drivers/bus/ifpga/rte_bus_ifpga.h
@@
-119,6
+119,15
@@
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.
+ */
+struct rte_afu_device *
+rte_ifpga_find_afu_by_name(const char *name);
+
/**
* Register a ifpga afu device driver.
*