Add device event stubs in eal_dev.c for Windows Signed-off-by: Jie Zhou <jizh@linux.microsoft.com> Acked-by: Tal Shnaiderman <talshn@nvidia.com> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
34 lines
602 B
C
34 lines
602 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2021 Microsoft Corporation
|
|
*/
|
|
|
|
#include <rte_dev.h>
|
|
|
|
int
|
|
rte_dev_event_monitor_start(void)
|
|
{
|
|
RTE_LOG(ERR, EAL, "Device event is not supported for Windows\n");
|
|
return -1;
|
|
}
|
|
|
|
int
|
|
rte_dev_event_monitor_stop(void)
|
|
{
|
|
RTE_LOG(ERR, EAL, "Device event is not supported for Windows\n");
|
|
return -1;
|
|
}
|
|
|
|
int
|
|
rte_dev_hotplug_handle_enable(void)
|
|
{
|
|
RTE_LOG(ERR, EAL, "Device event is not supported for Windows\n");
|
|
return -1;
|
|
}
|
|
|
|
int
|
|
rte_dev_hotplug_handle_disable(void)
|
|
{
|
|
RTE_LOG(ERR, EAL, "Device event is not supported for Windows\n");
|
|
return -1;
|
|
}
|