![]() |
![]() |
Structure for policer global configuration parameters. More...
#include <cpsw_ale.h>
Structure for policer global configuration parameters.
CpswAle_UnregulatedTrafficPolicer CpswAle_PolicerGlobalConfig_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
CPSW_ALE_POLICER_NOMATCH_MODE_E CpswAle_PolicerGlobalConfig_s::policerNoMatchMode |
Policing match mode
bool CpswAle_PolicerGlobalConfig_s::policingEnable |
Enables the policing to color the packets,this also enables red or yellow drop capabilities
bool CpswAle_PolicerGlobalConfig_s::redDropEnable |
Enables the ALE to drop the red colored packets
bool CpswAle_PolicerGlobalConfig_s::yellowDropEnable |
Enables the ALE to drop yellow packets based on the yellow thresh value
CPSW_ALE_POLICER_YELLOWTHRESH_E CpswAle_PolicerGlobalConfig_s::yellowThresh |
Yellow Threshold Value