PDK API Guide for J721E
|
Structure for policer global configuration parameters.
bool CpswAle_PolicerGlobalConfig::policingEnable |
Enables the policing to color the packets,this also enables red or yellow drop capabilities
bool CpswAle_PolicerGlobalConfig::yellowDropEnable |
Enables the ALE to drop yellow packets based on the yellow thresh value
bool CpswAle_PolicerGlobalConfig::redDropEnable |
Enables the ALE to drop the red colored packets
CPSW_ALE_POLICER_YELLOWTHRESH_E CpswAle_PolicerGlobalConfig::yellowThresh |
Yellow Threshold Value
CPSW_ALE_POLICER_NOMATCH_MODE_E CpswAle_PolicerGlobalConfig::policerNoMatchMode |
Policing match mode
CpswAle_UnregulatedTrafficPolicer CpswAle_PolicerGlobalConfig::noMatchPolicer |
Policing params for no hit (unregulated traffic. Must be valid if policerNoMatchMode is set to CPSW_ALE_POLICER_NOMATCH_MODE_UNREGULATED_TRAFFIC_POLICER