eal: modify device event process function
[dpdk.git] / lib / librte_eal / bsdapp / eal / eal_dev.c
index 255d611..3a3a2a5 100644 (file)
@@ -33,3 +33,11 @@ rte_dev_hotplug_handle_disable(void)
        RTE_LOG(ERR, EAL, "Device event is not supported for FreeBSD\n");
        return -1;
 }
+
+void  __rte_experimental
+rte_dev_event_callback_process(const char *device_name,
+                              enum rte_dev_event_type event)
+{
+       RTE_LOG(ERR, EAL,
+               "Device event callback process is not supported for FreeBSD.\n");
+}