New upstream version 18.11-rc1
[deb_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 }