bus/ifpga: support AFU device search by name
[dpdk.git] / drivers / bus / ifpga / rte_bus_ifpga.h
index 820eeaa..88a6289 100644 (file)
@@ -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.
  *