API Reference Manual
1.46.0
|
Packet IO statistics counters. More...
#include <packet_io_stats.h>
Data Fields | |
uint64_t | in_octets |
Number of octets in successfully received packets. More... | |
uint64_t | in_packets |
Number of successfully received packets. | |
uint64_t | in_ucast_pkts |
Number of successfully received Ethernet packets with a unicast destination MAC address. | |
uint64_t | in_mcast_pkts |
Number of successfully received Ethernet packets with a multicast destination MAC address. | |
uint64_t | in_bcast_pkts |
Number of successfully received Ethernet packets with a broadcast destination MAC address. | |
uint64_t | in_discards |
Number of inbound packets which were discarded due to a lack of free resources (e.g. More... | |
uint64_t | in_errors |
Number of inbound packets with errors. More... | |
uint64_t | out_octets |
Number of octets in successfully transmitted packets. More... | |
uint64_t | out_packets |
Number of successfully transmitted packets. | |
uint64_t | out_ucast_pkts |
Number of successfully transmitted Ethernet packets with a unicast destination MAC address. | |
uint64_t | out_mcast_pkts |
Number of successfully transmitted Ethernet packets with a multicast destination MAC address. | |
uint64_t | out_bcast_pkts |
Number of successfully transmitted Ethernet packets with a broadcast destination MAC address. | |
uint64_t | out_discards |
Number of outbound packets which were discarded due to a lack of free resources (e.g. More... | |
uint64_t | out_errors |
Number of packets with transmission errors. | |
Packet IO statistics counters.
In the counter definitions the term successfully refers to packets which were not discarded or detected to contain errors by the packet IO interface. In case of Ethernet, it's implementation specific whether valid pause frames are included in the counters or not.
Definition at line 40 of file spec/packet_io_stats.h.
uint64_t odp_pktio_stats_t::in_octets |
Number of octets in successfully received packets.
In case of Ethernet, packet size includes MAC header.
Definition at line 43 of file spec/packet_io_stats.h.
uint64_t odp_pktio_stats_t::in_discards |
Number of inbound packets which were discarded due to a lack of free resources (e.g.
buffers) or other reasons than packet errors.
Definition at line 62 of file spec/packet_io_stats.h.
uint64_t odp_pktio_stats_t::in_errors |
Number of inbound packets with errors.
Depending on packet input configuration, packets with errors may be dropped or not.
Definition at line 66 of file spec/packet_io_stats.h.
uint64_t odp_pktio_stats_t::out_octets |
Number of octets in successfully transmitted packets.
In case of Ethernet, packet size includes MAC header.
Definition at line 70 of file spec/packet_io_stats.h.
uint64_t odp_pktio_stats_t::out_discards |
Number of outbound packets which were discarded due to a lack of free resources (e.g.
buffers) or other reasons than errors.
Definition at line 89 of file spec/packet_io_stats.h.