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