xref: /dpdk/lib/eal/freebsd/eal_dev.c (revision ae67895b507bb6af22263c79ba0d5c374b396485)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018 Intel Corporation
3  */
4 
5 #include <rte_log.h>
6 #include <rte_dev.h>
7 
8 #include "eal_private.h"
9 
10 int
rte_dev_event_monitor_start(void)11 rte_dev_event_monitor_start(void)
12 {
13 	EAL_LOG(ERR, "Device event is not supported for FreeBSD");
14 	return -1;
15 }
16 
17 int
rte_dev_event_monitor_stop(void)18 rte_dev_event_monitor_stop(void)
19 {
20 	EAL_LOG(ERR, "Device event is not supported for FreeBSD");
21 	return -1;
22 }
23 
24 int
rte_dev_hotplug_handle_enable(void)25 rte_dev_hotplug_handle_enable(void)
26 {
27 	EAL_LOG(ERR, "Device event is not supported for FreeBSD");
28 	return -1;
29 }
30 
31 int
rte_dev_hotplug_handle_disable(void)32 rte_dev_hotplug_handle_disable(void)
33 {
34 	EAL_LOG(ERR, "Device event is not supported for FreeBSD");
35 	return -1;
36 }
37