![]() |
![]() |
Output args for CPSW_ALE_IOCTL_GET_POLICER, CPSW_ALE_IOCTL_SET_POLICER_THREADCFG, CPSW_ALE_IOCTL_BLOCK_CLASSIFIER_HOSTPORT and CPSW_ALE_IOCTL_SET_INTERVLAN_CFG commands. More...
#include <cpsw_ale.h>
Data Fields | |
uint32_t | policerMatchEnableMask |
uint32_t | port |
bool | portIsTrunk |
uint32_t | priority |
uint32_t | ouiAleEntryIdx |
uint32_t | srcMacAleEntryIdx |
uint32_t | dstMacAleEntryIdx |
uint32_t | ivlanAleEntryIdx |
uint32_t | ovlanAleEntryIdx |
uint32_t | etherTypeAleEntryIdx |
uint32_t | srcIpAleEntryIdx |
uint32_t | dstIpAleEntryIdx |
bool | threadIdEnable |
uint32_t | threadId |
uint32_t | peakRateInBitsPerSec |
uint32_t | commitRateInBitsPerSec |
uint32_t | policerEntryIdx |
bool | egressOpEnabled |
uint32_t | egressOpcode |
bool | enableTTLCheck |
uint32_t | egressTrunkIdx |
uint32_t | dstPortMask |
Output args for CPSW_ALE_IOCTL_GET_POLICER, CPSW_ALE_IOCTL_SET_POLICER_THREADCFG, CPSW_ALE_IOCTL_BLOCK_CLASSIFIER_HOSTPORT and CPSW_ALE_IOCTL_SET_INTERVLAN_CFG commands.
uint32_t CpswAle_PolicerEntryOutArgs_s::commitRateInBitsPerSec |
Commit rate in bits per second. 0 indicates rate limit is disabled
uint32_t CpswAle_PolicerEntryOutArgs_s::dstIpAleEntryIdx |
IP address ALE table entry index to match as destination IP address. Valid if bit CPSW_ALE_POLICER_MATCH_IPDST in policerMatchEnableMask is set
uint32_t CpswAle_PolicerEntryOutArgs_s::dstMacAleEntryIdx |
MAC address ALE table entry index to match destination MAC address. Valid if bit CPSW_ALE_POLICER_MATCH_MACDST in policerMatchEnableMask is set
uint32_t CpswAle_PolicerEntryOutArgs_s::dstPortMask |
Port mask to which the packet is to be routed. Valid only if egress op code has interVLAN route enabled
uint32_t CpswAle_PolicerEntryOutArgs_s::egressOpcode |
Egress Op code:
bool CpswAle_PolicerEntryOutArgs_s::egressOpEnabled |
Egress Op enabled
uint32_t CpswAle_PolicerEntryOutArgs_s::egressTrunkIdx |
Trunk index to be used if detPort for interVLAN route is a trunk. Valid only if egress op code has interVLAN route enabled
bool CpswAle_PolicerEntryOutArgs_s::enableTTLCheck |
TTL check enabled for the interVLAN route. Valid only if egress op code has interVLan route enabled
uint32_t CpswAle_PolicerEntryOutArgs_s::etherTypeAleEntryIdx |
EtherType ALE table entry index to match. It's valid if bit CPSW_ALE_POLICER_MATCH_ETHERTYPE in policerMatchEnableMask is set
uint32_t CpswAle_PolicerEntryOutArgs_s::ivlanAleEntryIdx |
Inner VLAN ALE table entry index to match. Valid if bit CPSW_ALE_POLICER_MATCH_IVLAN in policerMatchEnableMask is set
uint32_t CpswAle_PolicerEntryOutArgs_s::ouiAleEntryIdx |
OUI ALE table entry index to match. Valid if bit CPSW_ALE_POLICER_MATCH_OUI in policerMatchEnableMask is set
uint32_t CpswAle_PolicerEntryOutArgs_s::ovlanAleEntryIdx |
Outer VLAN ALE table entry index to match. Valid if bit CPSW_ALE_POLICER_MATCH_OVLAN in policerMatchEnableMask is set
uint32_t CpswAle_PolicerEntryOutArgs_s::peakRateInBitsPerSec |
Peak rate in bits per second. 0 indicates rate limit is disabled
uint32_t CpswAle_PolicerEntryOutArgs_s::policerEntryIdx |
ALE policer table entry index
uint32_t CpswAle_PolicerEntryOutArgs_s::policerMatchEnableMask |
Bitmask selecting classifier types to be enabled for this policer.
uint32_t CpswAle_PolicerEntryOutArgs_s::port |
Port number to match. Valid if bit CPSW_ALE_POLICER_MATCH_PORT in policerMatchEnableMask is set
bool CpswAle_PolicerEntryOutArgs_s::portIsTrunk |
Flag indicating port number is a trunk group. Valid if bit CPSW_ALE_POLICER_MATCH_PORT in policerMatchEnableMask is set
uint32_t CpswAle_PolicerEntryOutArgs_s::priority |
Received packet priority to match. Valid if bit CPSW_ALE_POLICER_MATCH_PRIORITY in policerMatchEnableMask is set
uint32_t CpswAle_PolicerEntryOutArgs_s::srcIpAleEntryIdx |
IP address ALE table entry index to match as source IP address. Valid if bit CPSW_ALE_POLICER_MATCH_IPSRC in policerMatchEnableMask is set
uint32_t CpswAle_PolicerEntryOutArgs_s::srcMacAleEntryIdx |
MAC address ALE table entry index to match source MAC address. Valid if bit CPSW_ALE_POLICER_MATCH_MACSRC in policerMatchEnableMask is set
uint32_t CpswAle_PolicerEntryOutArgs_s::threadId |
Thread Id which will be enabled for this policer match. Valid if threadIdEnable is true.
bool CpswAle_PolicerEntryOutArgs_s::threadIdEnable |
Flag indicating if thread id setting is enabled for this policer entry