@@ -270,6 +270,22 @@ int odp_init_local(odp_instance_t instance, odp_thread_type_t thr_type);
int odp_term_local(void);
/**
+ * Driver loading
+ *
+ * This function is used by the application to load NIC drivers into ODP.
+ * Calls to this function are optional, but should be performed (if any)
+ * after odp_init_global
+ *
+ *
+ * @param filename Driver shared lib (dynamic library)
+ *
+ * @retval 0 on success
+ * @retval <0 on failure
+ *
+ */
+int odp_load_driver(const char *filename);
+
+/**
* @}
*/
Signed-off-by: Christophe Milard <christophe.milard@linaro.org> Function added on the north API to load drivers. --- include/odp/api/spec/init.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.7.4