DPDK 21.11.9
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 231 of file rte_dev.h.

Field Documentation

◆ dev_str

const char* dev_str

device string.

Definition at line 232 of file rte_dev.h.

◆ bus_str

const char* bus_str

bus-related part of device string.

Definition at line 233 of file rte_dev.h.

◆ cls_str

const char* cls_str

class-related part of device string.

Definition at line 234 of file rte_dev.h.

◆ bus

struct rte_bus* bus

bus handle.

Definition at line 235 of file rte_dev.h.

◆ cls

struct rte_class* cls

class handle.

Definition at line 236 of file rte_dev.h.

◆ device

struct rte_device* device

current position.

Definition at line 237 of file rte_dev.h.

◆ class_device

void* class_device

additional specialized context.

Definition at line 238 of file rte_dev.h.


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