DPDK  18.05.1
Public Member Functions | Data Fields
rte_bus Struct Reference

#include <rte_bus.h>

Public Member Functions

 TAILQ_ENTRY (rte_bus) next

Data Fields

const char * name
rte_bus_scan_t scan
rte_bus_probe_t probe
rte_bus_find_device_t find_device
rte_bus_plug_t plug
rte_bus_unplug_t unplug
rte_bus_parse_t parse
struct rte_bus_conf conf
rte_bus_get_iommu_class_t get_iommu_class

Detailed Description

A structure describing a generic bus.

Examples:
examples/ethtool/lib/rte_ethtool.c, examples/ip_pipeline/kni.c, and examples/kni/main.c.

Definition at line 203 of file rte_bus.h.

Member Function Documentation

TAILQ_ENTRY ( rte_bus  )

Next bus object in linked list

Field Documentation

const char* name

Name of the bus

Examples:
examples/ethtool/lib/rte_ethtool.c, examples/ip_pipeline/kni.c, and examples/kni/main.c.

Definition at line 205 of file rte_bus.h.

Scan for devices attached to bus

Definition at line 206 of file rte_bus.h.

Probe devices on bus

Definition at line 207 of file rte_bus.h.

rte_bus_find_device_t find_device

Find a device on the bus

Definition at line 208 of file rte_bus.h.

Probe single device for drivers

Definition at line 209 of file rte_bus.h.

Remove single device from driver

Definition at line 210 of file rte_bus.h.

Parse a device name

Definition at line 211 of file rte_bus.h.

struct rte_bus_conf conf

Bus configuration

Examples:
examples/kni/main.c.

Definition at line 212 of file rte_bus.h.

rte_bus_get_iommu_class_t get_iommu_class

Get iommu class

Definition at line 213 of file rte_bus.h.


The documentation for this struct was generated from the following file: