---
name: "rte_vdpa_stat"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_vdpa_stat"
---

# rte\_vdpa\_stat(3)

## NAME

rte\_vdpa\_stat

## SYNOPSIS

`#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.

Definition at line **34** of file **rte\_vdpa.h**.

## Field Documentation

### uint64\_t id

The index in stats name array

Definition at line **35** of file **rte\_vdpa.h**.

### uint64\_t value

The statistic counter value

Definition at line **36** of file **rte\_vdpa.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
