aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bus/vdev/vdev_private.h
blob: ba6dc48ff35706907264fbbc2573d8bc60f728e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* 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_ */