![]() |
PDK API Guide for J721E
|
Holds the ALE Policer Table entry configuration.
Data Fields | |
Uint32 | validBitmap |
Uint32 | port |
Uint32 | pri |
Uint32 | ouiIdx |
Uint32 | dstMacIdx |
Uint32 | srcMacIdx |
Uint32 | ovlanIdx |
Uint32 | vlanIdx |
Uint32 | ethertypeIdx |
Uint32 | srcIpIdx |
Uint32 | dstIpIdx |
Uint32 | thread |
Uint32 | pirIdleIncVal |
Uint32 | cirIdleIncVal |
Uint32 | egressOp |
Uint32 | egressTrunkIndex |
Uint32 | enableTTLCheck |
Uint32 | destPortMask |
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::validBitmap |
Configuration control bitmap as defined above
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::port |
Ingress EMAC port
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::pri |
VLAN priority
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::ouiIdx |
OUI entry index
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::dstMacIdx |
Destination MAC address entry index
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::srcMacIdx |
Source MAC address entry index
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::ovlanIdx |
Outer VLAN entry index
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::vlanIdx |
(Inner) VLAN entry index
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::ethertypeIdx |
Ethertype entry index
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::srcIpIdx |
Source IP address entry index
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::dstIpIdx |
Destination IP address entry index
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::thread |
CPPI Egress thread upon match
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::pirIdleIncVal |
Peak Information Rate Idle Increment Value The number added to the PIR counter every clock cycle. If zero the PIR counter is disabled and packets will never be marked or processed as RED
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::cirIdleIncVal |
Committed Information Rate Idle Increment Value The number added to the CIR counter every clock cycle. If zero the CIR counter is disabled and packets will never be marked or processed as YELLOW
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::egressOp |
Egress Op Value The Egress Operation value allows enabled classifiers with IPSA or IPDA match to use the CPSW Egress Packet Operations Inter VLAN Routing sub functions
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::egressTrunkIndex |
Egress trunk index The Egress Trunk Index is the calculated trunk index from the SA, DA or VLAN. If modified to that, InterVLAN routing will work on trunks as well. The DA, SA and VLAN are ignored for trunk generation on InterVLAN Routing so that this field is the index generated from the Egress Op replacements XORed together into a three bit index.
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::enableTTLCheck |
TTL check value The TTL Check will cause any packet that fails TTL checks to not be routed to the Inter VLAN Routing sub functions. The packet will be routed to the host it was destined to.
Uint32 CSL_CPSW_ALE_POLICER_ENTRY::destPortMask |
The Destination Ports is a list of the ports the classified packet will be set to. If a destination is a Trunk, all the port bits for that trunck must be set.