DPDK  19.11.14
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 1340 of file rte_ethdev.h.

Field Documentation

◆ id

uint64_t id

The index in xstats name array.

Definition at line 1341 of file rte_ethdev.h.

◆ value

uint64_t value

The statistic counter value.

Definition at line 1342 of file rte_ethdev.h.


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