DPDK  /usr/bin/make-f/build/dpdk-ReMzk1/dpdk-16.11.11/mk/rte.sdkconfig.mkshowversion
Public Member Functions | Data Fields
rte_devargs Struct Reference

#include <rte_devargs.h>

+ Collaboration diagram for rte_devargs:

Public Member Functions

 TAILQ_ENTRY (rte_devargs) next
 

Data Fields

enum rte_devtype type
 
char * args
 
struct rte_pci_addr addr
 
struct {
   struct rte_pci_addr   addr
 
pci
 
char drv_name [32]
 
struct {
   char   drv_name [32]
 
virt
 

Detailed Description

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 74 of file rte_devargs.h.

Member Function Documentation

◆ TAILQ_ENTRY()

TAILQ_ENTRY ( rte_devargs  )

Next in list.

Field Documentation

◆ type

enum rte_devtype type

Type of device.

Definition at line 78 of file rte_devargs.h.

◆ addr

struct rte_pci_addr addr

PCI location.

Definition at line 84 of file rte_devargs.h.

◆ pci

struct { ... } pci

Used if type is RTE_DEVTYPE_*_PCI.

◆ drv_name

char drv_name[32]

Driver name.

Definition at line 89 of file rte_devargs.h.

◆ virt

struct { ... } virt

Used if type is RTE_DEVTYPE_VIRTUAL.

◆ args

char* args

Arguments string as given by user or "" for no argument.

Definition at line 93 of file rte_devargs.h.


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