---
name: "rte_eth_xstat"
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_eth_xstat"
---

# rte\_eth\_xstat(3)

## NAME

rte\_eth\_xstat

## SYNOPSIS

`#include <rte_ethdev.h>`

### Data Fields

uint64\_t **id**\
 uint64\_t **value**\

## Detailed Description

An Ethernet device extended statistic structure

This structure is used by **rte\_eth\_xstats\_get()** to provide statistics that are not provided in the generic **rte\_eth\_stats structure. It maps a name ID, corresponding to an index in the array returned by rte\_eth\_xstats\_get\_names(), to a statistic value.**

**Definition at line 1943 of file rte\_ethdev.h.**

## Field Documentation

### uint64\_t id

**The index in xstats name array.**

**Definition at line 1944 of file rte\_ethdev.h.**

### uint64\_t value

**The statistic counter value.**

**Definition at line 1945 of file rte\_ethdev.h.**

## Author

**Generated automatically by Doxygen for DPDK from the source code.**
