DPDK 22.11.4
rte_bus_vdev.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2016 RehiveTech. All rights reserved.
3 */
4
5#ifndef RTE_VDEV_H
6#define RTE_VDEV_H
7
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18typedef void (*rte_vdev_scan_callback)(void *user_arg);
19
34int
35rte_vdev_add_custom_scan(rte_vdev_scan_callback callback, void *user_arg);
36
50int
51rte_vdev_remove_custom_scan(rte_vdev_scan_callback callback, void *user_arg);
52
63int rte_vdev_init(const char *name, const char *args);
64
73int rte_vdev_uninit(const char *name);
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif
int rte_vdev_init(const char *name, const char *args)
int rte_vdev_add_custom_scan(rte_vdev_scan_callback callback, void *user_arg)
int rte_vdev_remove_custom_scan(rte_vdev_scan_callback callback, void *user_arg)
int rte_vdev_uninit(const char *name)