---
name: "rte_eth_xstat_name"
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_name"
---

# rte\_eth\_xstat\_name(3)

## NAME

rte\_eth\_xstat\_name

## SYNOPSIS

`#include <rte_ethdev.h>`

### Data Fields

char **name** \[**RTE\_ETH\_XSTATS\_NAME\_SIZE**\]\

## Detailed Description

A name element for extended statistics.

An array of this structure is returned by **rte\_eth\_xstats\_get\_names()**. It lists the names of extended statistics for a PMD. The **rte\_eth\_xstat structure references these names by their array index.**

**The xstats should follow a common naming scheme. Some names are standardized in rte\_stats\_strings. Examples:**

- •

  **rx\_missed\_errors**

- •

  **tx\_q3\_bytes**

- •

  **tx\_size\_128\_to\_255\_packets**

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

## Field Documentation

### char name\[RTE\_ETH\_XSTATS\_NAME\_SIZE\]

**The statistic name.**

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

## Author

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