DPDK
25.11.0
Toggle main menu visibility
Loading...
Searching...
No Matches
rte_bus.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright 2016 NXP
3
*/
4
5
#ifndef _RTE_BUS_H_
6
#define _RTE_BUS_H_
7
16
17
#include <stdio.h>
18
19
#include <
rte_eal.h
>
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
struct
rte_bus;
26
struct
rte_device;
27
36
const
char
*
rte_bus_name
(
const
struct
rte_bus *bus);
37
45
int
rte_bus_scan
(
void
);
46
55
int
rte_bus_probe
(
void
);
56
63
void
rte_bus_dump
(FILE *f);
64
80
typedef
int (*
rte_bus_cmp_t
)(
const
struct
rte_bus *bus,
const
void
*data);
81
104
struct
rte_bus *
rte_bus_find
(
const
struct
rte_bus *start,
rte_bus_cmp_t
cmp,
105
const
void
*data);
106
110
struct
rte_bus *
rte_bus_find_by_device
(
const
struct
rte_device *dev);
111
115
struct
rte_bus *
rte_bus_find_by_name
(
const
char
*busname);
116
117
125
enum
rte_iova_mode
rte_bus_get_iommu_class
(
void
);
126
127
#ifdef __cplusplus
128
}
129
#endif
130
131
#endif
/* _RTE_BUS_H */
rte_bus_get_iommu_class
enum rte_iova_mode rte_bus_get_iommu_class(void)
rte_bus_scan
int rte_bus_scan(void)
rte_bus_find_by_device
struct rte_bus * rte_bus_find_by_device(const struct rte_device *dev)
rte_bus_dump
void rte_bus_dump(FILE *f)
rte_bus_name
const char * rte_bus_name(const struct rte_bus *bus)
rte_bus_find_by_name
struct rte_bus * rte_bus_find_by_name(const char *busname)
rte_bus_cmp_t
int(* rte_bus_cmp_t)(const struct rte_bus *bus, const void *data)
Definition
rte_bus.h:80
rte_bus_probe
int rte_bus_probe(void)
rte_bus_find
struct rte_bus * rte_bus_find(const struct rte_bus *start, rte_bus_cmp_t cmp, const void *data)
rte_eal.h
rte_iova_mode
rte_iova_mode
Definition
rte_eal.h:462
lib
eal
include
rte_bus.h
Generated by
1.17.0