PDK API Guide for J721E
CpswAle_PolicerGlobalConfig Struct Reference

Detailed Description

Structure for policer global configuration parameters.

Data Fields

bool policingEnable
 
bool yellowDropEnable
 
bool redDropEnable
 
CPSW_ALE_POLICER_YELLOWTHRESH_E yellowThresh
 
CPSW_ALE_POLICER_NOMATCH_MODE_E policerNoMatchMode
 
CpswAle_UnregulatedTrafficPolicer noMatchPolicer
 

Field Documentation

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