50 #include <sys/queue.h>
69 RTE_IOVA_PA = (1 << 0),
70 RTE_IOVA_VA = (1 << 1)
203 RTE_BUS_SCAN_UNDEFINED,
204 RTE_BUS_SCAN_WHITELIST,
205 RTE_BUS_SCAN_BLACKLIST,
362 #define RTE_REGISTER_BUS(nm, bus) \
363 RTE_INIT_PRIO(businitfn_ ##nm, BUS) \
365 (bus).name = RTE_STR(nm);\
366 rte_bus_register(&bus); \
enum rte_iova_mode(* rte_bus_get_iommu_class_t)(void)
void *(* rte_dev_iterate_t)(const void *start, const char *devstr, const struct rte_dev_iterator *it)
int(* rte_bus_sigbus_handler_t)(const void *failure_addr)
enum rte_iova_mode rte_bus_get_iommu_class(void)
void rte_bus_register(struct rte_bus *bus)
struct rte_device *(* rte_bus_find_device_t)(const struct rte_device *start, rte_dev_cmp_t cmp, const void *data)
TAILQ_HEAD(rte_bus_list, rte_bus)
rte_bus_find_device_t find_device
int(* rte_bus_cmp_t)(const struct rte_bus *bus, const void *data)
rte_bus_hot_unplug_handler_t hot_unplug_handler
TAILQ_ENTRY(rte_bus) next
int(* rte_bus_plug_t)(struct rte_device *dev)
void rte_bus_dump(FILE *f)
rte_dev_iterate_t dev_iterate
struct rte_bus * rte_bus_find_by_name(const char *busname)
int(* rte_bus_parse_t)(const char *name, void *addr)
rte_bus_sigbus_handler_t sigbus_handler
struct rte_bus * rte_bus_find(const struct rte_bus *start, rte_bus_cmp_t cmp, const void *data)
int(* rte_bus_probe_t)(void)
int(* rte_bus_hot_unplug_handler_t)(struct rte_device *dev)
struct rte_bus * rte_bus_find_by_device(const struct rte_device *dev)
rte_bus_get_iommu_class_t get_iommu_class
void rte_bus_unregister(struct rte_bus *bus)
enum rte_bus_scan_mode scan_mode
int(* rte_bus_scan_t)(void)
int(* rte_bus_unplug_t)(struct rte_device *dev)
int(* rte_dev_cmp_t)(const struct rte_device *dev, const void *data)