API Reference Manual 1.51.0
Loading...
Searching...
No Matches
odp_pktio_stats_capability_t Struct Reference

Packet IO statistics capabilities. More...

#include <packet_io_stats.h>

Data Fields

struct { 
 
   union { 
 
      struct { 
 
         uint64_t   in_octets: 1 
 See odp_pktio_stats_t::in_octets. More...
 
         uint64_t   in_packets: 1 
 See odp_pktio_stats_t::in_packets. More...
 
         uint64_t   in_ucast_pkts: 1 
 See odp_pktio_stats_t::in_ucast_pkts. More...
 
         uint64_t   in_mcast_pkts: 1 
 See odp_pktio_stats_t::in_mcast_pkts. More...
 
         uint64_t   in_bcast_pkts: 1 
 See odp_pktio_stats_t::in_bcast_pkts. More...
 
         uint64_t   in_discards: 1 
 See odp_pktio_stats_t::in_discards. More...
 
         uint64_t   in_errors: 1 
 See odp_pktio_stats_t::in_errors. More...
 
         uint64_t   out_octets: 1 
 See odp_pktio_stats_t::out_octets. More...
 
         uint64_t   out_packets: 1 
 See odp_pktio_stats_t::out_packets. More...
 
         uint64_t   out_ucast_pkts: 1 
 See odp_pktio_stats_t::out_ucast_pkts. More...
 
         uint64_t   out_mcast_pkts: 1 
 See odp_pktio_stats_t::out_mcast_pkts. More...
 
         uint64_t   out_bcast_pkts: 1 
 See odp_pktio_stats_t::out_bcast_pkts. More...
 
         uint64_t   out_discards: 1 
 See odp_pktio_stats_t::out_discards. More...
 
         uint64_t   out_errors: 1 
 See odp_pktio_stats_t::out_errors. More...
 
      }   counter 
 Statistics counters in a bit field structure.
 
      uint64_t   all_counters 
 All bits of the bit field structure. More...
 
   }  
 Supported counters.
 
pktio 
 Interface level capabilities.
 
struct { 
 
   union { 
 
      struct { 
 
         uint64_t   octets: 1 
 See odp_pktin_queue_stats_t::octets. More...
 
         uint64_t   packets: 1 
 See odp_pktin_queue_stats_t::packets. More...
 
         uint64_t   discards: 1 
 See odp_pktin_queue_stats_t::discards. More...
 
         uint64_t   errors: 1 
 See odp_pktin_queue_stats_t::errors. More...
 
      }   counter 
 Statistics counters in a bit field structure.
 
      uint64_t   all_counters 
 All bits of the bit field structure. More...
 
   }  
 Supported counters.
 
pktin_queue 
 Input queue level capabilities.
 
struct { 
 
   union { 
 
      struct { 
 
         uint64_t   octets: 1 
 See odp_pktout_queue_stats_t::octets. More...
 
         uint64_t   packets: 1 
 See odp_pktout_queue_stats_t::packets. More...
 
         uint64_t   discards: 1 
 See odp_pktout_queue_stats_t::discards. More...
 
         uint64_t   errors: 1 
 See odp_pktout_queue_stats_t::errors. More...
 
      }   counter 
 Statistics counters in a bit field structure.
 
      uint64_t   all_counters 
 All bits of the bit field structure. More...
 
   }  
 Supported counters.
 
pktout_queue 
 Output queue level capabilities.
 

Detailed Description

Packet IO statistics capabilities.

Definition at line 140 of file spec/packet_io_stats.h.

Field Documentation

◆ in_octets

uint64_t odp_pktio_stats_capability_t::in_octets

See odp_pktio_stats_t::in_octets.

Definition at line 148 of file spec/packet_io_stats.h.

◆ in_packets

uint64_t odp_pktio_stats_capability_t::in_packets

See odp_pktio_stats_t::in_packets.

Definition at line 151 of file spec/packet_io_stats.h.

◆ in_ucast_pkts

uint64_t odp_pktio_stats_capability_t::in_ucast_pkts

◆ in_mcast_pkts

uint64_t odp_pktio_stats_capability_t::in_mcast_pkts

◆ in_bcast_pkts

uint64_t odp_pktio_stats_capability_t::in_bcast_pkts

◆ in_discards

uint64_t odp_pktio_stats_capability_t::in_discards

See odp_pktio_stats_t::in_discards.

Definition at line 163 of file spec/packet_io_stats.h.

◆ in_errors

uint64_t odp_pktio_stats_capability_t::in_errors

See odp_pktio_stats_t::in_errors.

Definition at line 166 of file spec/packet_io_stats.h.

◆ out_octets

uint64_t odp_pktio_stats_capability_t::out_octets

See odp_pktio_stats_t::out_octets.

Definition at line 169 of file spec/packet_io_stats.h.

◆ out_packets

uint64_t odp_pktio_stats_capability_t::out_packets

See odp_pktio_stats_t::out_packets.

Definition at line 172 of file spec/packet_io_stats.h.

◆ out_ucast_pkts

uint64_t odp_pktio_stats_capability_t::out_ucast_pkts

◆ out_mcast_pkts

uint64_t odp_pktio_stats_capability_t::out_mcast_pkts

◆ out_bcast_pkts

uint64_t odp_pktio_stats_capability_t::out_bcast_pkts

◆ out_discards

uint64_t odp_pktio_stats_capability_t::out_discards

◆ out_errors

uint64_t odp_pktio_stats_capability_t::out_errors

See odp_pktio_stats_t::out_errors.

Definition at line 187 of file spec/packet_io_stats.h.

◆ all_counters

uint64_t odp_pktio_stats_capability_t::all_counters

All bits of the bit field structure.

This field can be used to set/clear all flags, or for bitwise operations over the entire structure.

Examples
odp_sysinfo.c.

Definition at line 194 of file spec/packet_io_stats.h.

◆ octets

uint64_t odp_pktio_stats_capability_t::octets

◆ packets

uint64_t odp_pktio_stats_capability_t::packets

◆ discards

uint64_t odp_pktio_stats_capability_t::discards

◆ errors

uint64_t odp_pktio_stats_capability_t::errors

The documentation for this struct was generated from the following file: