DPDK  24.03.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 34 of file rte_vdpa.h.

Field Documentation

◆ id

uint64_t id

The index in stats name array

Definition at line 35 of file rte_vdpa.h.

◆ value

uint64_t value

The statistic counter value

Definition at line 36 of file rte_vdpa.h.


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