This describes counters that can be retrieved via the DPDK API rte_eth_stats_get using the rte_eth_stats structure.
Supported counters in rte_eth_stats
This table shows supported fields in the rte_eth_stats structure.
Field |
Description |
---|---|
ipackets |
Number of received frames. |
opackets |
Number of transmitted frames. |
ibytes |
Number of received bytes. |
obytes |
Number of transmitted bytes. |
imissed |
Number of RX frames dropped by the HW, because there are no available buffer. |
ierrors |
Number of received frames with CRC and code violation errors as well as layer 3 and 4 checksum errors. |
oerrors |
Number of transmitted frames with CRC and code violation errors as well as layer 3 and 4 checksum errors. This counter is always 0. |
q_ipackets |
Number of received frames associated to a queue. |
q_opackets |
Number of transmitted frames associated to a queue. |
q_ibytes |
Number of received bytes associated to a queue. |
q_obytes |
Number of transmitted bytes associated to a queue. |
q_errors |
Number of frames with CRC and code violation errors as well as layer 3 and 4 checksum errors associated to a queue. |