1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright 2018 Gaëtan Rivet 3 */ 4 5 #ifndef _VDEV_PRIVATE_H_ 6 #define _VDEV_PRIVATE_H_ 7 8 #include <rte_os_shim.h> 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 struct rte_device * 15 rte_vdev_find_device(const struct rte_device *start, 16 rte_dev_cmp_t cmp, 17 const void *data); 18 19 void * 20 rte_vdev_dev_iterate(const void *start, 21 const char *str, 22 const struct rte_dev_iterator *it); 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #endif /* _VDEV_PRIVATE_H_ */ 29