3a3a2a5ed58917c7e87633c51178be1b1be67f08
[dpdk.git] / lib / librte_eal / bsdapp / eal / eal_dev.c
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018 Intel Corporation
3  */
4
5 #include <rte_log.h>
6 #include <rte_compat.h>
7 #include <rte_dev.h>
8
9 int __rte_experimental
10 rte_dev_event_monitor_start(void)
11 {
12         RTE_LOG(ERR, EAL, "Device event is not supported for FreeBSD\n");
13         return -1;
14 }
15
16 int __rte_experimental
17 rte_dev_event_monitor_stop(void)
18 {
19         RTE_LOG(ERR, EAL, "Device event is not supported for FreeBSD\n");
20         return -1;
21 }
22
23 int __rte_experimental
24 rte_dev_hotplug_handle_enable(void)
25 {
26         RTE_LOG(ERR, EAL, "Device event is not supported for FreeBSD\n");
27         return -1;
28 }
29
30 int __rte_experimental
31 rte_dev_hotplug_handle_disable(void)
32 {
33         RTE_LOG(ERR, EAL, "Device event is not supported for FreeBSD\n");
34         return -1;
35 }
36
37 void  __rte_experimental
38 rte_dev_event_callback_process(const char *device_name,
39                                enum rte_dev_event_type event)
40 {
41         RTE_LOG(ERR, EAL,
42                 "Device event callback process is not supported for FreeBSD.\n");
43 }