Data Fields
CpswAle_PolicerGlobalCfg_s Struct Reference

Policer global configuration parameters. More...

#include <cpsw_ale.h>

Data Fields

bool policingEnable
 
bool yellowDropEnable
 
bool redDropEnable
 
CpswAle_PolicerYellowThresh yellowThresh
 
CpswAle_PolicerNoMatchMode policerNoMatchMode
 
CpswAle_UnregulatedTrafficPolicer noMatchPolicer
 

Detailed Description

Policer global configuration parameters.

Field Documentation

CpswAle_UnregulatedTrafficPolicer CpswAle_PolicerGlobalCfg_s::noMatchPolicer

Policing params for no hit (unregulated traffic). Must be valid if policerNoMatchMode is set to CPSW_ALE_POLICER_NOMATCH_MODE_UNREGULATED_TRAFFIC_POLICER

CpswAle_PolicerNoMatchMode CpswAle_PolicerGlobalCfg_s::policerNoMatchMode

Policing match mode

bool CpswAle_PolicerGlobalCfg_s::policingEnable

Enables the policing to color the packets. It also enables red or yellow drop capabilities

bool CpswAle_PolicerGlobalCfg_s::redDropEnable

Enables the ALE to drop the red colored packets

bool CpswAle_PolicerGlobalCfg_s::yellowDropEnable

Enables the ALE to drop yellow packets based on the yellow threshold value

CpswAle_PolicerYellowThresh CpswAle_PolicerGlobalCfg_s::yellowThresh

Yellow threshold value


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

Copyright 2020, Texas Instruments Incorporated