40 RTE_IOVA_PA = (1 << 0),
41 RTE_IOVA_VA = (1 << 1)
176 uint64_t iova,
size_t len);
197 uint64_t iova,
size_t len);
232 RTE_BUS_SCAN_UNDEFINED,
233 RTE_BUS_SCAN_ALLOWLIST,
234 RTE_BUS_SCAN_BLOCKLIST,
394#define RTE_REGISTER_BUS(nm, bus) \
395RTE_INIT_PRIO(businitfn_ ##nm, BUS) \
397 (bus).name = RTE_STR(nm);\
398 rte_bus_register(&bus); \
struct rte_device *(* rte_bus_find_device_t)(const struct rte_device *start, rte_dev_cmp_t cmp, const void *data)
int(* rte_bus_devargs_parse_t)(struct rte_devargs *da)
int(* rte_bus_sigbus_handler_t)(const void *failure_addr)
int(* rte_dev_dma_unmap_t)(struct rte_device *dev, void *addr, uint64_t iova, size_t len)
int(* rte_bus_hot_unplug_handler_t)(struct rte_device *dev)
int(* rte_bus_unplug_t)(struct rte_device *dev)
enum rte_iova_mode rte_bus_get_iommu_class(void)
void rte_bus_register(struct rte_bus *bus)
struct rte_bus * rte_bus_find_by_device(const struct rte_device *dev)
int(* rte_bus_scan_t)(void)
void rte_bus_dump(FILE *f)
RTE_TAILQ_HEAD(rte_bus_list, rte_bus)
int(* rte_bus_probe_t)(void)
int(* rte_bus_parse_t)(const char *name, void *addr)
int(* rte_bus_plug_t)(struct rte_device *dev)
struct rte_bus * rte_bus_find_by_name(const char *busname)
void rte_bus_unregister(struct rte_bus *bus)
int(* rte_bus_cmp_t)(const struct rte_bus *bus, const void *data)
enum rte_iova_mode(* rte_bus_get_iommu_class_t)(void)
int(* rte_dev_dma_map_t)(struct rte_device *dev, void *addr, uint64_t iova, size_t len)
struct rte_bus * rte_bus_find(const struct rte_bus *start, rte_bus_cmp_t cmp, const void *data)
void *(* rte_dev_iterate_t)(const void *start, const char *devstr, const struct rte_dev_iterator *it)
int(* rte_dev_cmp_t)(const struct rte_device *dev, const void *data)
enum rte_bus_scan_mode scan_mode
rte_dev_dma_map_t dma_map
RTE_TAILQ_ENTRY(rte_bus) next
rte_dev_iterate_t dev_iterate
rte_bus_find_device_t find_device
rte_bus_devargs_parse_t devargs_parse
rte_bus_sigbus_handler_t sigbus_handler
rte_bus_hot_unplug_handler_t hot_unplug_handler
rte_bus_get_iommu_class_t get_iommu_class
rte_dev_dma_unmap_t dma_unmap