/
phprus
/
github_dpdk
Обзор
Документация
Войти
/
phprus
/
github_dpdk
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lib/eal/windows/eal_dev.c
40 строк
816 B
David Marchand
build: mark exported symbols
07 апр 2025, 15:10
07 апр 2025, 15:10
c7020bb
Код
Авторство
О чём код?
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2021 Microsoft Corporation */ #include <eal_export.h> #include <rte_dev.h> #include "eal_private.h" RTE_EXPORT_SYMBOL(rte_dev_event_monitor_start) int rte_dev_event_monitor_start(void) { EAL_LOG(ERR, "Device event is not supported for Windows"); return -1; } RTE_EXPORT_SYMBOL(rte_dev_event_monitor_stop) int rte_dev_event_monitor_stop(void) { EAL_LOG(ERR, "Device event is not supported for Windows"); return -1; } RTE_EXPORT_SYMBOL(rte_dev_hotplug_handle_enable) int rte_dev_hotplug_handle_enable(void) { EAL_LOG(ERR, "Device event is not supported for Windows"); return -1; } RTE_EXPORT_SYMBOL(rte_dev_hotplug_handle_disable) int rte_dev_hotplug_handle_disable(void) { EAL_LOG(ERR, "Device event is not supported for Windows"); return -1; }