DPDK  21.08.0-rc2
Data Fields
rte_eth_xstat Struct Reference

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

Examples:
examples/bbdev_app/main.c.

Definition at line 1652 of file rte_ethdev.h.

Field Documentation

◆ id

uint64_t id

The index in xstats name array.

Definition at line 1653 of file rte_ethdev.h.

◆ value

uint64_t value

The statistic counter value.

Definition at line 1654 of file rte_ethdev.h.


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