12 #ifndef ODP_API_SPEC_PACKET_IO_STATS_H_
13 #define ODP_API_SPEC_PACKET_IO_STATS_H_
14 #include <odp/visibility_begin.h>
434 #include <odp/visibility_end.h>
int odp_pktin_queue_stats(odp_pktin_queue_t queue, odp_pktin_queue_stats_t *stats)
Get statistics for direct packet input queue.
struct odp_pktout_queue_stats_t odp_pktout_queue_stats_t
Packet IO output queue specific statistics counters.
void odp_pktio_extra_stats_print(odp_pktio_t pktio)
Print extra statistics for a packet IO interface.
struct odp_pktin_queue_stats_t odp_pktin_queue_stats_t
Packet IO input queue specific statistics counters.
struct odp_pktio_stats_capability_t odp_pktio_stats_capability_t
Packet IO statistics capabilities.
int odp_pktin_event_queue_stats(odp_pktio_t pktio, odp_queue_t queue, odp_pktin_queue_stats_t *stats)
Get statistics for packet input event queue.
int odp_pktio_extra_stat_counter(odp_pktio_t pktio, uint32_t id, uint64_t *stat)
Get extra statistic counter value.
struct odp_pktio_stats_t odp_pktio_stats_t
Packet IO statistics counters.
int odp_pktio_extra_stats(odp_pktio_t pktio, uint64_t stats[], int num)
Get extra statistics for a packet IO interface.
#define ODP_PKTIO_STATS_EXTRA_NAME_LEN
Maximum packet IO extra statistics counter name length, including the null character.
int odp_pktout_event_queue_stats(odp_pktio_t pktio, odp_queue_t queue, odp_pktout_queue_stats_t *stats)
Get statistics for packet output event queue.
int odp_pktio_extra_stat_info(odp_pktio_t pktio, odp_pktio_extra_stat_info_t info[], int num)
Get extra statistics counter information for a packet IO interface.
int odp_pktout_queue_stats(odp_pktout_queue_t queue, odp_pktout_queue_stats_t *stats)
Get statistics for direct packet output queue.
int odp_pktio_stats(odp_pktio_t pktio, odp_pktio_stats_t *stats)
Get statistics for pktio handle.
struct odp_pktio_extra_stat_info_t odp_pktio_extra_stat_info_t
Packet IO extra statistics counter information.
int odp_pktio_stats_reset(odp_pktio_t pktio)
Reset statistics for pktio handle.
Packet IO input queue specific statistics counters.
uint64_t errors
See odp_pktio_stats_t::in_errors.
uint64_t packets
See odp_pktio_stats_t::in_packets.
uint64_t octets
See odp_pktio_stats_t::in_octets.
uint64_t discards
See odp_pktio_stats_t::in_discards.
Packet IO statistics capabilities.
uint64_t all_counters
All bits of the bit field structure.
struct odp_pktio_stats_capability_t::@96 pktio
Interface level capabilities.
uint64_t errors
See odp_pktin_queue_stats_t::errors.
uint64_t discards
See odp_pktin_queue_stats_t::discards.
uint64_t out_discards
See odp_pktio_stats_t::out_discards.
uint64_t in_errors
See odp_pktio_stats_t::in_errors.
uint64_t out_packets
See odp_pktio_stats_t::out_packets.
uint64_t in_discards
See odp_pktio_stats_t::in_discards.
uint64_t in_octets
See odp_pktio_stats_t::in_octets.
struct odp_pktio_stats_capability_t::@96::@99::@101 counter
Statistics counters in a bit field structure.
struct odp_pktio_stats_capability_t::@97 pktin_queue
Input queue level capabilities.
uint64_t out_errors
See odp_pktio_stats_t::out_errors.
uint64_t out_mcast_pkts
See odp_pktio_stats_t::out_mcast_pkts.
struct odp_pktio_stats_capability_t::@98 pktout_queue
Output queue level capabilities.
uint64_t out_bcast_pkts
See odp_pktio_stats_t::out_bcast_pkts.
uint64_t in_ucast_pkts
See odp_pktio_stats_t::in_ucast_pkts.
uint64_t in_packets
See odp_pktio_stats_t::in_packets.
uint64_t packets
See odp_pktin_queue_stats_t::packets.
uint64_t out_ucast_pkts
See odp_pktio_stats_t::out_ucast_pkts.
uint64_t in_bcast_pkts
See odp_pktio_stats_t::in_bcast_pkts.
uint64_t octets
See odp_pktin_queue_stats_t::octets.
uint64_t out_octets
See odp_pktio_stats_t::out_octets.
uint64_t in_mcast_pkts
See odp_pktio_stats_t::in_mcast_pkts.
Packet IO statistics counters.
uint64_t out_ucast_pkts
Number of successfully transmitted Ethernet packets with a unicast destination MAC address.
uint64_t in_ucast_pkts
Number of successfully received Ethernet packets with a unicast destination MAC address.
uint64_t out_octets
Number of octets in successfully transmitted packets.
uint64_t in_errors
Number of inbound packets with errors.
uint64_t in_octets
Number of octets in successfully received packets.
uint64_t in_discards
Number of inbound packets which were discarded due to a lack of free resources (e....
uint64_t out_discards
Number of outbound packets which were discarded due to a lack of free resources (e....
uint64_t out_errors
Number of packets with transmission errors.
uint64_t in_bcast_pkts
Number of successfully received Ethernet packets with a broadcast destination MAC address.
uint64_t in_mcast_pkts
Number of successfully received Ethernet packets with a multicast destination MAC address.
uint64_t out_mcast_pkts
Number of successfully transmitted Ethernet packets with a multicast destination MAC address.
uint64_t in_packets
Number of successfully received packets.
uint64_t out_bcast_pkts
Number of successfully transmitted Ethernet packets with a broadcast destination MAC address.
uint64_t out_packets
Number of successfully transmitted packets.
Packet IO output queue specific statistics counters.
uint64_t errors
See odp_pktio_stats_t::out_errors.
uint64_t octets
See odp_pktio_stats_t::out_octets.
uint64_t discards
See odp_pktio_stats_t::out_discards.
uint64_t packets
See odp_pktio_stats_t::out_packets.