API Reference Manual  1.45.0
odp_bp_param_t Struct Reference

Back pressure (BP) When back pressure is enabled for a particular flow, the HW can send back pressure information to the remote peer indicating a network congestion. More...

#include <classification.h>

Collaboration diagram for odp_bp_param_t:
[legend]

Data Fields

odp_bool_t enable
 A boolean to enable Back pressure When true, back pressure is enabled and configured with the BP parameters. More...
 
odp_threshold_t threshold
 Threshold value for back pressure. More...
 
uint8_t pfc_level
 PFC priority level. More...
 

Detailed Description

Back pressure (BP) When back pressure is enabled for a particular flow, the HW can send back pressure information to the remote peer indicating a network congestion.

Definition at line 389 of file api/spec/classification.h.

Field Documentation

◆ enable

odp_bool_t odp_bp_param_t::enable

A boolean to enable Back pressure When true, back pressure is enabled and configured with the BP parameters.

Otherwise BP parameters are ignored. Default value is false.

Definition at line 395 of file api/spec/classification.h.

◆ threshold

odp_threshold_t odp_bp_param_t::threshold

Threshold value for back pressure.

BP is enabled when the resource usage is equal to or greater than the max backpressure threshold. Min threshold parameters are ignored for BP configuration.

See also
odp_red_param_t for 'resource usage' documentation.

Definition at line 403 of file api/spec/classification.h.

◆ pfc_level

uint8_t odp_bp_param_t::pfc_level

PFC priority level.

When enabled (ODP_PKTIO_LINK_PFC_ON), PFC frames are generated when the above threshold is exceeded. The generated frames request the receiver to temporary halt transmission of traffic on this priority level (0 .. 7).

Definition at line 412 of file api/spec/classification.h.


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