rte_dev_iterator
Contents
Detailed Description
Iteration context.
This context carries over the current iteration state.
Definition at line 281 of file rte_dev.h.
Field Documentation
constchar*dev_str
device string.
Definition at line 282 of file rte_dev.h.
constchar*bus_str
bus-related part of device string.
Definition at line 283 of file rte_dev.h.
constchar*cls_str
class-related part of device string.
Definition at line 284 of file rte_dev.h.
structrte_bus*bus
bus handle.
Definition at line 285 of file rte_dev.h.
structrte_class*cls
class handle.
Definition at line 286 of file rte_dev.h.
structrte_device*device
current position.
Definition at line 287 of file rte_dev.h.
void*class_device
additional specialized context.
Definition at line 288 of file rte_dev.h.
Name
rte_dev_iterator
Synopsis
#include <rte_dev.h>
DataFields
const char * dev_str
const char * bus_str
const char * cls_str
struct rte_bus * bus
struct rte_class * cls
struct rte_device * device
void * class_device