API Reference Manual  1.45.0
spec/packet_io_stats.h File Reference

ODP Packet IO statistics. More...

#include <odp/visibility_begin.h>
#include <odp/api/queue_types.h>
#include <odp/visibility_end.h>
Include dependency graph for spec/packet_io_stats.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  odp_pktio_stats_t
 Packet IO statistics counters. More...
 
struct  odp_pktin_queue_stats_t
 Packet IO input queue specific statistics counters. More...
 
struct  odp_pktout_queue_stats_t
 Packet IO output queue specific statistics counters. More...
 
struct  odp_pktio_stats_capability_t
 Packet IO statistics capabilities. More...
 
struct  odp_pktio_extra_stat_info_t
 Packet IO extra statistics counter information. More...
 

Typedefs

typedef struct odp_pktio_stats_t odp_pktio_stats_t
 Packet IO statistics counters. More...
 
typedef struct odp_pktin_queue_stats_t odp_pktin_queue_stats_t
 Packet IO input queue specific statistics counters. More...
 
typedef struct odp_pktout_queue_stats_t odp_pktout_queue_stats_t
 Packet IO output queue specific statistics counters. More...
 
typedef struct odp_pktio_stats_capability_t odp_pktio_stats_capability_t
 Packet IO statistics capabilities.
 
typedef struct odp_pktio_extra_stat_info_t odp_pktio_extra_stat_info_t
 Packet IO extra statistics counter information.
 

Functions

int odp_pktio_stats (odp_pktio_t pktio, odp_pktio_stats_t *stats)
 Get statistics for pktio handle. More...
 
int odp_pktin_queue_stats (odp_pktin_queue_t queue, odp_pktin_queue_stats_t *stats)
 Get statistics for direct packet input queue. More...
 
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. More...
 
int odp_pktout_queue_stats (odp_pktout_queue_t queue, odp_pktout_queue_stats_t *stats)
 Get statistics for direct packet output queue. More...
 
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. More...
 
int odp_pktio_stats_reset (odp_pktio_t pktio)
 Reset statistics for pktio handle. More...
 
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. More...
 
int odp_pktio_extra_stats (odp_pktio_t pktio, uint64_t stats[], int num)
 Get extra statistics for a packet IO interface. More...
 
int odp_pktio_extra_stat_counter (odp_pktio_t pktio, uint32_t id, uint64_t *stat)
 Get extra statistic counter value. More...
 
void odp_pktio_extra_stats_print (odp_pktio_t pktio)
 Print extra statistics for a packet IO interface. More...
 

Detailed Description

ODP Packet IO statistics.

Definition in file spec/packet_io_stats.h.