numam-dpdk/drivers/bus/vdev/vdev_private.h
Gaetan Rivet ac91bc493c bus/vdev: implement device iteration
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
2018-10-03 14:22:39 +02:00

27 lines
469 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright 2018 Gaëtan Rivet
*/
#ifndef _VDEV_PRIVATE_H_
#define _VDEV_PRIVATE_H_
#ifdef __cplusplus
extern "C" {
#endif
struct rte_device *
rte_vdev_find_device(const struct rte_device *start,
rte_dev_cmp_t cmp,
const void *data);
void *
rte_vdev_dev_iterate(const void *start,
const char *str,
const struct rte_dev_iterator *it);
#ifdef __cplusplus
}
#endif
#endif /* _VDEV_PRIVATE_H_ */