]> git.droids-corp.org - dpdk.git/blobdiff - drivers/bus/ifpga/rte_bus_ifpga.h
bus/ifpga: support AFU device search by name
[dpdk.git] / drivers / bus / ifpga / rte_bus_ifpga.h
index 820eeaabe8054c910a2a175ed973cfd99a2d6c8a..88a62896421a1ff9fc4a71124b88b3c348ec2015 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.
  *