SPRUJ42E March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
PRODUCTION DATA
The ALE Control 2 Register is used to set the extended features used for all ports.
Return to Summary Table
Instance Name | Physical Address |
---|---|
CPSW0 | 5283 E00Ch |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
TRK_EN_DST | TRK_EN_SRC | TRK_EN_PRI | RESERVED | TRK_EN_IVLAN | RESERVED | TRK_EN_SIP | TRK_EN_DIP |
R/W | R/W | R/W | NONE | R/W | NONE | R/W | R/W |
0h | 0h | 0h | 0h | 0h | 0h | 0h | 0h |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
DROP_BADLEN | NODROP_SRCMCST | DEFNOFRAG | DEFLMTNXTHDR | RESERVED | TRK_BASE | ||
R/W | R/W | R/W | R/W | NONE | R/W | ||
0h | 0h | 0h | 0h | 0h | 0h | ||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
MULTIHOST | RESERVED | MIRROR_MIDX | |||||
R/W | NONE | R/W | |||||
0h | 0h | 0h | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MIRROR_MIDX | |||||||
R/W | |||||||
0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | TRK_EN_DST | R/W | 0h | Trunk Enable Destination Address - This field enables the destination MAC address to be used with the hash function G(X) = 1 + X + X^3 and affect the trunk port transmit link determination. |
30 | TRK_EN_SRC | R/W | 0h | Trunk Enable Source Address - This field enables the source MAC address to be used with the hash function G(X) = 1 + X + X^3 and affect the trunk port transmit link determination. |
29 | TRK_EN_PRI | R/W | 0h | Trunk Enable Priority - This field enables the VLAN Priority bits to be used with the hash function G(X) = 1 + X + X^3 and affect the trunk port transmit link determination. In the event that DSCP mapping is enabled and there is no VLAN the DSCP priority will be used. For all other non IP frames without VLAN the port default priority is used. |
28 | RESERVED | NONE | 0h | Reserved |
27 | TRK_EN_IVLAN | R/W | 0h | Trunk Enable Inner VLAN - This field enables the inner VLAN ID value (C-VLANID) to be used with the hash function G(X) = 1 + X + X^3 and affect the trunk port transmit link determination. |
26 | RESERVED | NONE | 0h | Reserved |
25 | TRK_EN_SIP | R/W | 0h | Trunk Enable Source IP Address - This field enables the source IP address to be used with the hash function G(X) = 1 + X + X^3 and affect the trunk port transmit link determination. This feature supports No tag, Priority tagged, VLAN tagged, Q-in-Q double tagging for both IPV6 and IPV4. |
24 | TRK_EN_DIP | R/W | 0h | Trunk Enable Destination IP Address - This field enables the destination IP address to be used with the hash function G(X) = 1 + X + X^3 and affect the trunk port transmit link determination. This feature supports No tag, Priority tagged, VLAN tagged, Q-in-Q double tagging for both IPV6 and IPV4. |
23 | DROP_BADLEN | R/W | 0h | Drop Bad Length will drop any packet that the 802.3 length field is larger than the packet. Ethertypes 0-1500 are 802.3 lengths, all others are Ether types. |
22 | NODROP_SRCMCST | R/W | 0h | No Drop Source Multicast will disable the dropping of any source address with the multicast bit set. |
21 | DEFNOFRAG | R/W | 0h | Default No Frag field will cause an IPv4 fragmented packet to be dropped if a VLAN entry is not found. |
20 | DEFLMTNXTHDR | R/W | 0h | Default limit next header field will cause an IPv4 protocol or IPv6 next header packet to be dropped if a VLAN entry is not found and the protocol or next header does not match the ALE_NXT_HDR register values. |
19 | RESERVED | NONE | 0h | Reserved |
18:16 | TRK_BASE | R/W | 0h | Trunk Base - This field is the hash formula starting value. Changing this value will cause the packet distribution on trunk ports to be changed. If all the trk_en_dst, trk_en_src, trk_en_pri and trk_en_vlan are '0', this value is used as the distribution index. That is a '0' will select the 1st bit of an 'N' link trunk, a '1' will select the second, etc. Below is the distribution across the trunk links. The first number in the italic sequence indicates the traffic is sent to the lowest numbered port of a trunk group. For example if you have a 3 port trunk, the hash result 0 will go to the base port (0), hash result 1 will go to the highest port of the trunk group (2), hash result 2 will go to the middle port (1), etc. 1 - 00000000 2 - 01010101 3 - 02102102 4 - 03210321 |
15 | MULTIHOST | R/W | 0h | The ~multihost allows host traffic to be sent bact to the host if the DA is market for the host port. |
14:9 | RESERVED | NONE | 0h | Reserved |
8:0 | MIRROR_MIDX | R/W | 0h | Mirror Index - This field is the ALE lookup table entry index that when a match occurs will cause this traffic to be mirrored to the mirror_top port. That is any VLAN, ONU or address with or withou VLAN can be selected for traffic mirroring. |