DPDK  20.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 250 of file rte_dev.h.

Field Documentation

const char* dev_str

device string.

Definition at line 251 of file rte_dev.h.

const char* bus_str

bus-related part of device string.

Definition at line 252 of file rte_dev.h.

const char* cls_str

class-related part of device string.

Definition at line 253 of file rte_dev.h.

struct rte_bus* bus

bus handle.

Definition at line 254 of file rte_dev.h.

struct rte_class* cls

class handle.

Definition at line 255 of file rte_dev.h.

struct rte_device* device

current position.

Definition at line 256 of file rte_dev.h.

void* class_device

additional specialized context.

Definition at line 257 of file rte_dev.h.


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