API Reference Manual 1.51.0
Loading...
Searching...
No Matches
odp_proto_stats_counters_t Union Reference

ODP proto stats counters. More...

#include <proto_stats_types.h>

Data Fields

struct { 
 
   uint64_t   tx_pkts: 1 
 Tx packet sent count. More...
 
   uint64_t   tx_pkt_drops: 1 
 Tx packet drop count. More...
 
   uint64_t   tx_oct_count0: 1 
 Tx packet sent Octet counter 0. More...
 
   uint64_t   tx_oct_count0_drops: 1 
 Tx packet drop Octet counter 0. More...
 
   uint64_t   tx_oct_count1: 1 
 Tx packet sent octet counter 1. More...
 
   uint64_t   tx_oct_count1_drops: 1 
 Tx packet drop octet counter 1. More...
 
bit 
 Option flags.
 
uint64_t all_bits
 All bits of the bit field structure.
 

Detailed Description

ODP proto stats counters.

Statistics that can be enabled in proto stats object. For Tx stats counters, Pktout config odp_pktout_config_opt_t::bit::proto_stats_ena needs to be enabled.

Tx packet and octet sent/drop statistics might include packets sent/dropped via Traffic Manager or Tx packet Aging or due to any other Tx errors. It is implementation specific as to what all Tx sent/drop events are accounted for.

Definition at line 51 of file api/spec/proto_stats_types.h.

Field Documentation

◆ tx_pkts

uint64_t odp_proto_stats_counters_t::tx_pkts

Tx packet sent count.

Definition at line 55 of file api/spec/proto_stats_types.h.

◆ tx_pkt_drops

uint64_t odp_proto_stats_counters_t::tx_pkt_drops

Tx packet drop count.

Definition at line 58 of file api/spec/proto_stats_types.h.

◆ tx_oct_count0

uint64_t odp_proto_stats_counters_t::tx_oct_count0

Tx packet sent Octet counter 0.

Definition at line 61 of file api/spec/proto_stats_types.h.

◆ tx_oct_count0_drops

uint64_t odp_proto_stats_counters_t::tx_oct_count0_drops

Tx packet drop Octet counter 0.

Definition at line 64 of file api/spec/proto_stats_types.h.

◆ tx_oct_count1

uint64_t odp_proto_stats_counters_t::tx_oct_count1

Tx packet sent octet counter 1.

Definition at line 67 of file api/spec/proto_stats_types.h.

◆ tx_oct_count1_drops

uint64_t odp_proto_stats_counters_t::tx_oct_count1_drops

Tx packet drop octet counter 1.

Definition at line 70 of file api/spec/proto_stats_types.h.

◆ all_bits

uint64_t odp_proto_stats_counters_t::all_bits

All bits of the bit field structure.

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

Examples
odp_sysinfo.c.

Definition at line 78 of file api/spec/proto_stats_types.h.


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