DPDK  21.02.0
Data Fields
rte_vdpa_stat Struct Reference

#include <rte_vdpa.h>

Data Fields

uint64_t id
 
uint64_t value
 

Detailed Description

A vDPA device statistic structure

This structure is used by rte_vdpa_stats_get() to provide statistics from the HW vDPA device.

It maps a name id, corresponding to an index in the array returned by rte_vdpa_get_stats_names, to a statistic value.

Examples:
examples/vdpa/main.c.

Definition at line 30 of file rte_vdpa.h.

Field Documentation

uint64_t id

The index in stats name array

Definition at line 31 of file rte_vdpa.h.

uint64_t value

The statistic counter value

Definition at line 32 of file rte_vdpa.h.


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