DPDK  23.03.0
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
15 extern "C" {
16 #endif
17 
18 typedef void (*rte_vdev_scan_callback)(void *user_arg);
19 
34 int
35 rte_vdev_add_custom_scan(rte_vdev_scan_callback callback, void *user_arg);
36 
50 int
51 rte_vdev_remove_custom_scan(rte_vdev_scan_callback callback, void *user_arg);
52 
63 int rte_vdev_init(const char *name, const char *args);
64 
73 int rte_vdev_uninit(const char *name);
74 
75 #ifdef __cplusplus
76 }
77 #endif
78 
79 #endif
int rte_vdev_uninit(const char *name)
int rte_vdev_init(const char *name, const char *args)
char name[RTE_MEMPOOL_NAMESIZE]
Definition: rte_mempool.h:220
int rte_vdev_remove_custom_scan(rte_vdev_scan_callback callback, void *user_arg)
int rte_vdev_add_custom_scan(rte_vdev_scan_callback callback, void *user_arg)