File: vdev_private.h

package info (click to toggle)
dpdk 25.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 127,892 kB
  • sloc: ansic: 2,358,479; python: 16,426; sh: 4,474; makefile: 1,713; awk: 70
file content (28 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (3)
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
27
28
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright 2018 Gaƫtan Rivet
 */

#ifndef _VDEV_PRIVATE_H_
#define _VDEV_PRIVATE_H_

#include <rte_os_shim.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_ */