DPDK  16.04.0
Data Fields
rte_eth_stats Struct Reference

#include <rte_ethdev.h>

Data Fields

uint64_t ipackets
uint64_t opackets
uint64_t ibytes
uint64_t obytes
uint64_t imissed
uint64_t ibadcrc __rte_deprecated
uint64_t ibadlen __rte_deprecated
uint64_t ierrors
uint64_t oerrors
uint64_t imcasts
uint64_t rx_nombuf
uint64_t fdirmatch __rte_deprecated
uint64_t fdirmiss __rte_deprecated
uint64_t tx_pause_xon __rte_deprecated
uint64_t rx_pause_xon __rte_deprecated
uint64_t tx_pause_xoff __rte_deprecated
uint64_t rx_pause_xoff __rte_deprecated
uint64_t q_ipackets [RTE_ETHDEV_QUEUE_STAT_CNTRS]
uint64_t q_opackets [RTE_ETHDEV_QUEUE_STAT_CNTRS]
uint64_t q_ibytes [RTE_ETHDEV_QUEUE_STAT_CNTRS]
uint64_t q_obytes [RTE_ETHDEV_QUEUE_STAT_CNTRS]
uint64_t q_errors [RTE_ETHDEV_QUEUE_STAT_CNTRS]
uint64_t ilbpackets
uint64_t olbpackets
uint64_t ilbbytes
uint64_t olbbytes

Detailed Description

A structure used to retrieve statistics for an Ethernet port.

Examples:
distributor/main.c, ethtool/ethtool-app/ethapp.c, ethtool/lib/rte_ethtool.c, ip_pipeline/pipeline/pipeline_common_fe.c, load_balancer/runtime.c, packet_ordering/main.c, and qos_sched/main.c.

Definition at line 194 of file rte_ethdev.h.

Field Documentation

uint64_t ipackets

Total number of successfully received packets.

Definition at line 195 of file rte_ethdev.h.

uint64_t opackets

Total number of successfully transmitted packets.

Definition at line 196 of file rte_ethdev.h.

uint64_t ibytes

Total number of successfully received bytes.

Definition at line 197 of file rte_ethdev.h.

uint64_t obytes

Total number of successfully transmitted bytes.

Definition at line 198 of file rte_ethdev.h.

uint64_t imissed

Total of RX packets dropped by the HW, because there are no available mbufs (i.e. RX queues are full).

Definition at line 200 of file rte_ethdev.h.

uint64_t ibadcrc __rte_deprecated

Deprecated; Total of RX packets with CRC error.

Definition at line 204 of file rte_ethdev.h.

uint64_t ibadlen __rte_deprecated

Deprecated; Total of RX packets with bad length.

Definition at line 206 of file rte_ethdev.h.

uint64_t ierrors

Total number of erroneous received packets.

Definition at line 207 of file rte_ethdev.h.

uint64_t oerrors

Total number of failed transmitted packets.

Definition at line 208 of file rte_ethdev.h.

uint64_t imcasts

Deprecated; Total number of multicast received packets.

Definition at line 210 of file rte_ethdev.h.

uint64_t rx_nombuf

Total number of RX mbuf allocation failures.

Definition at line 211 of file rte_ethdev.h.

uint64_t fdirmatch __rte_deprecated

Deprecated; Total number of RX packets matching a filter.

Definition at line 213 of file rte_ethdev.h.

uint64_t fdirmiss __rte_deprecated

Deprecated; Total number of RX packets not matching any filter.

Definition at line 215 of file rte_ethdev.h.

uint64_t tx_pause_xon __rte_deprecated

Deprecated; Total nb. of XON pause frame sent.

Definition at line 217 of file rte_ethdev.h.

uint64_t rx_pause_xon __rte_deprecated

Deprecated; Total nb. of XON pause frame received.

Definition at line 219 of file rte_ethdev.h.

uint64_t tx_pause_xoff __rte_deprecated

Deprecated; Total nb. of XOFF pause frame sent.

Definition at line 221 of file rte_ethdev.h.

uint64_t rx_pause_xoff __rte_deprecated

Deprecated; Total nb. of XOFF pause frame received.

Definition at line 223 of file rte_ethdev.h.

uint64_t q_ipackets[RTE_ETHDEV_QUEUE_STAT_CNTRS]

Total number of queue RX packets.

Definition at line 225 of file rte_ethdev.h.

uint64_t q_opackets[RTE_ETHDEV_QUEUE_STAT_CNTRS]

Total number of queue TX packets.

Definition at line 227 of file rte_ethdev.h.

uint64_t q_ibytes[RTE_ETHDEV_QUEUE_STAT_CNTRS]

Total number of successfully received queue bytes.

Definition at line 229 of file rte_ethdev.h.

uint64_t q_obytes[RTE_ETHDEV_QUEUE_STAT_CNTRS]

Total number of successfully transmitted queue bytes.

Definition at line 231 of file rte_ethdev.h.

uint64_t q_errors[RTE_ETHDEV_QUEUE_STAT_CNTRS]

Total number of queue packets received that are dropped.

Definition at line 233 of file rte_ethdev.h.

uint64_t ilbpackets

Total number of good packets received from loopback,VF Only

Definition at line 235 of file rte_ethdev.h.

uint64_t olbpackets

Total number of good packets transmitted to loopback,VF Only

Definition at line 237 of file rte_ethdev.h.

uint64_t ilbbytes

Total number of good bytes received from loopback,VF Only

Definition at line 239 of file rte_ethdev.h.

uint64_t olbbytes

Total number of good bytes transmitted to loopback,VF Only

Definition at line 241 of file rte_ethdev.h.


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