PDK API Guide for J721E
CpswAle_GetPolicerStatsOutArgs Struct Reference

Detailed Description

Output args for CPSW_ALE_IOCTL_GET_POLICER_STATS IOCTL command.

Data Fields

bool policerHit
 
bool policerRedHit
 
bool policerYellowHit
 

Field Documentation

bool CpswAle_GetPolicerStatsOutArgs::policerHit

This indicates that the selected policing/classifier via the pol_test_idx field has been hit by a packet seen on any port that matches the policing/classifier entry match

bool CpswAle_GetPolicerStatsOutArgs::policerRedHit

This indicates that the selected policing/classifier via the pol_test_idx field has been hit during a RED condition by a packet seen on any port that matches the policing/classifier entry match

bool CpswAle_GetPolicerStatsOutArgs::policerYellowHit

This indicates that the selected policing/classifier via the pol_test_idx field has been hit during a YELLOW condition by a packet seen on any port that matches the policing/classifier entry match