DPDK
18.05.1

#include <rte_ethdev.h>
Data Fields  
uint64_t  ipackets 
uint64_t  opackets 
uint64_t  ibytes 
uint64_t  obytes 
uint64_t  imissed 
uint64_t  ierrors 
uint64_t  oerrors 
uint64_t  rx_nombuf 
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] 
A structure used to retrieve statistics for an Ethernet port. Not all statistics fields in struct rte_eth_stats are supported by any type of network interface card (NIC). If any statistics field is not supported, its value is 0.
Definition at line 170 of file rte_ethdev.h.
uint64_t ipackets 
Total number of successfully received packets.
Definition at line 171 of file rte_ethdev.h.
uint64_t opackets 
Total number of successfully transmitted packets.
Definition at line 172 of file rte_ethdev.h.
uint64_t ibytes 
Total number of successfully received bytes.
Definition at line 173 of file rte_ethdev.h.
uint64_t obytes 
Total number of successfully transmitted bytes.
Definition at line 174 of file rte_ethdev.h.
uint64_t imissed 
Total of RX packets dropped by the HW, because there are no available buffer (i.e. RX queues are full).
Definition at line 176 of file rte_ethdev.h.
uint64_t ierrors 
Total number of erroneous received packets.
Definition at line 179 of file rte_ethdev.h.
uint64_t oerrors 
Total number of failed transmitted packets.
Definition at line 180 of file rte_ethdev.h.
uint64_t rx_nombuf 
Total number of RX mbuf allocation failures.
Definition at line 181 of file rte_ethdev.h.
uint64_t q_ipackets[RTE_ETHDEV_QUEUE_STAT_CNTRS] 
Total number of queue RX packets.
Definition at line 183 of file rte_ethdev.h.
uint64_t q_opackets[RTE_ETHDEV_QUEUE_STAT_CNTRS] 
Total number of queue TX packets.
Definition at line 185 of file rte_ethdev.h.
uint64_t q_ibytes[RTE_ETHDEV_QUEUE_STAT_CNTRS] 
Total number of successfully received queue bytes.
Definition at line 187 of file rte_ethdev.h.
uint64_t q_obytes[RTE_ETHDEV_QUEUE_STAT_CNTRS] 
Total number of successfully transmitted queue bytes.
Definition at line 189 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 191 of file rte_ethdev.h.