DPDK  20.11.10
Public Member Functions | Data Fields
rte_device Struct Reference

#include <rte_dev.h>

Public Member Functions

 TAILQ_ENTRY (rte_device) next
 

Data Fields

const char * name
 
const struct rte_driverdriver
 
const struct rte_busbus
 
int numa_node
 
struct rte_devargsdevargs
 

Detailed Description

A structure describing a generic device.

Examples:
examples/vdpa/main.c.

Definition at line 92 of file rte_dev.h.

Member Function Documentation

◆ TAILQ_ENTRY()

TAILQ_ENTRY ( rte_device  )

Next device

Field Documentation

◆ name

const char* name

Device name

Examples:
examples/vdpa/main.c.

Definition at line 94 of file rte_dev.h.

◆ driver

const struct rte_driver* driver

Driver assigned after probing

Definition at line 95 of file rte_dev.h.

◆ bus

const struct rte_bus* bus

Bus handle assigned on scan

Definition at line 96 of file rte_dev.h.

◆ numa_node

int numa_node

NUMA node connection

Definition at line 97 of file rte_dev.h.

◆ devargs

struct rte_devargs* devargs

Arguments for latest probing

Definition at line 98 of file rte_dev.h.


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