PDK API Guide for J721E
CpswAle_SetPolicerEntryInArgs Struct Reference

Detailed Description

Input args for CPSW_ALE_IOCTL_SET_POLICER command.

Data Fields

CpswAle_PolicerMatchParams policerMatch
 
bool threadIdEnable
 
uint32_t threadId
 
uint32_t peakRateInBitsPerSec
 
uint32_t commitRateInBitsPerSec
 

Field Documentation

CpswAle_PolicerMatchParams CpswAle_SetPolicerEntryInArgs::policerMatch

Policer match config

bool CpswAle_SetPolicerEntryInArgs::threadIdEnable

Enable threadid setting for this policer entry

uint32_t CpswAle_SetPolicerEntryInArgs::threadId

Thread Id which will be enabled for this policer match

uint32_t CpswAle_SetPolicerEntryInArgs::peakRateInBitsPerSec

Peak rate in bits per second. 0 indicates rate limit is disabled

uint32_t CpswAle_SetPolicerEntryInArgs::commitRateInBitsPerSec

Commit rate in bits per second. 0 indicates rate limit is disabled