DPDK  21.08.0
Data Fields
rte_dev_iterator Struct Reference

#include <rte_dev.h>

Data Fields

const char * dev_str
 
const char * bus_str
 
const char * cls_str
 
struct rte_busbus
 
struct rte_classcls
 
struct rte_devicedevice
 
void * class_device
 

Detailed Description

Iteration context.

This context carries over the current iteration state.

Examples:
examples/vdpa/main.c.

Definition at line 238 of file rte_dev.h.

Field Documentation

◆ dev_str

const char* dev_str

device string.

Definition at line 239 of file rte_dev.h.

◆ bus_str

const char* bus_str

bus-related part of device string.

Definition at line 240 of file rte_dev.h.

◆ cls_str

const char* cls_str

class-related part of device string.

Definition at line 241 of file rte_dev.h.

◆ bus

struct rte_bus* bus

bus handle.

Definition at line 242 of file rte_dev.h.

◆ cls

struct rte_class* cls

class handle.

Definition at line 243 of file rte_dev.h.

◆ device

struct rte_device* device

current position.

Definition at line 244 of file rte_dev.h.

◆ class_device

void* class_device

additional specialized context.

Definition at line 245 of file rte_dev.h.


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