API Reference Manual  1.45.0
odp_tm_threshold_params_t Struct Reference

TM threshold parameters. More...

#include <traffic_mngr.h>

Data Fields

uint64_t max_pkts
 max pkt cnt for this threshold profile
 
uint64_t max_bytes
 max byte cnt for this threshold profile
 
odp_bool_t enable_max_pkts
 TRUE if max_pkts is valid. More...
 
odp_bool_t enable_max_bytes
 TRUE if max_bytes is valid. More...
 

Detailed Description

TM threshold parameters.

Use odp_tm_threshold_params_init() to initialize parameters into their default values.

Examples
odp_traffic_mgmt.c.

Definition at line 1323 of file api/spec/traffic_mngr.h.

Field Documentation

◆ enable_max_pkts

odp_bool_t odp_tm_threshold_params_t::enable_max_pkts

TRUE if max_pkts is valid.

The default value is false.

Examples
odp_traffic_mgmt.c.

Definition at line 1328 of file api/spec/traffic_mngr.h.

◆ enable_max_bytes

odp_bool_t odp_tm_threshold_params_t::enable_max_bytes

TRUE if max_bytes is valid.

The default value is false.

Examples
odp_traffic_mgmt.c.

Definition at line 1331 of file api/spec/traffic_mngr.h.


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