Data Fields
CpswAle_PolicerGlobalConfig_s Struct Reference

Structure for policer global configuration parameters. More...

#include <cpsw_ale.h>

Data Fields

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

Detailed Description

Structure for policer global configuration parameters.

Field Documentation

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


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

Copyright 2020, Texas Instruments Incorporated