![]() |
![]() |
Policer global configuration parameters. More...
#include <cpsw_ale.h>
Policer global configuration parameters.
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