DPDK
18.11.11
|
#include <rte_devargs.h>
Public Member Functions | |
TAILQ_ENTRY (rte_devargs) next | |
Data Fields | |
enum rte_devtype | type |
enum rte_dev_policy | policy |
char | name [RTE_DEV_NAME_MAX_LEN] |
struct rte_bus * | bus |
struct rte_class * | cls |
const char * | bus_str |
const char * | cls_str |
const char * | data |
char * | args |
Structure that stores a device given by the user with its arguments
A user device is a physical or a virtual device given by the user to the DPDK application at startup through command line arguments.
The structure stores the configuration of the device, its PCI identifier if it's a PCI device or the driver name if it's a virtual device.
Definition at line 47 of file rte_devargs.h.
TAILQ_ENTRY | ( | rte_devargs | ) |
Next in list.
enum rte_devtype type |
Type of device.
Definition at line 51 of file rte_devargs.h.
enum rte_dev_policy policy |
Device policy.
Definition at line 53 of file rte_devargs.h.
char name[RTE_DEV_NAME_MAX_LEN] |
Name of the device.
Definition at line 55 of file rte_devargs.h.
char* args |
Arguments string as given by user or "" for no argument.
Definition at line 59 of file rte_devargs.h.
struct rte_bus* bus |
bus handle.
Definition at line 62 of file rte_devargs.h.
struct rte_class* cls |
class handle.
Definition at line 63 of file rte_devargs.h.
const char* bus_str |
bus-related part of device string.
Definition at line 64 of file rte_devargs.h.
const char* cls_str |
class-related part of device string.
Definition at line 65 of file rte_devargs.h.
const char* data |
Device string storage.
Definition at line 66 of file rte_devargs.h.