SPRUJ42E March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
PRODUCTION DATA
The ALE Port Control Register sets the port specific modes of operation.
Return to Summary Table
Instance Name | Physical Address |
---|---|
CPSW0 | 5283 E040h |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
I0_REG_P0_BCAST_LIMIT | |||||||
R/W | |||||||
0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
I0_REG_P0_MCAST_LIMIT | |||||||
R/W | |||||||
0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
I0_REG_P0_DROP_DOUBLE_VLAN | I0_REG_P0_DROP_DUAL_VLAN | I0_REG_P0_MACONLY_CAF | I0_REG_P0_DIS_PAUTHMOD | I0_REG_P0_MACONLY | I0_REG_P0_TRUNKEN | I0_REG_P0_TRUNKNUM | |
R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
0h | 0h | 0h | 0h | 0h | 0h | 0h | |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
I0_REG_P0_MIRROR_SP | RESERVED | I0_REG_P0_NO_SA_UPDATE | I0_REG_P0_NO_LEARN | I0_REG_P0_VID_INGRESS_CHECK | I0_REG_P0_DROP_UN_TAGGED | I0_REG_P0_PORTSTATE | |
R/W | NONE | R/W | R/W | R/W | R/W | R/W | |
0h | 0h | 0h | 0h | 0h | 0h | 0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31:24 | I0_REG_P0_BCAST_LIMIT | R/W | 0h | Broadcast Packet Rate Limit - Each prescale pulse loads this field into the port broadcast rate limit counter. The port counters are decremented with each packet received or transmitted depending on whether the mode is transmit or receive. If the counters decrement to zero, then further packets are rate limited until the next prescale pulse. Broadcast rate limiting is enabled by a non-zero value in this field. |
23:16 | I0_REG_P0_MCAST_LIMIT | R/W | 0h | Multicast Packet Rate Limit - Each prescale pulse loads this field into the port multicast rate limit counter. The port counters are decremented with each packet received or transmitted depending on whether the mode is transmit or receive. If the counters decrement to zero, then further packets are rate limited until the next prescale pulse. Multicast rate limiting is enabled by a non-zero value in this field.The mcast_limit is the number of Multicast packets that will be forwaded per ale_prescale time. |
15 | I0_REG_P0_DROP_DOUBLE_VLAN | R/W | 0h | Drop Double VLAN - When set cause any received packet with double VLANs to be dropped. That is if there are two ctag or two stag fields in the packet it will be dropped. |
14 | I0_REG_P0_DROP_DUAL_VLAN | R/W | 0h | Drop Dual VLAN - When set will cause any received packet with dual VLAN stag followed by ctag to be dropped. |
13 | I0_REG_P0_MACONLY_CAF | R/W | 0h | Mac Only Copy All Frames - When set a Mac Only port will transfer all received good frames to the host. When clear a Mac Only port will transfer packets to the host based on ALE destination address lookup operation (which operates more like an Ethernet Mac). A Mac Only port is a port with maconly set. |
12 | I0_REG_P0_DIS_PAUTHMOD | R/W | 0h | Disable Port authorization - When set will allow unknown addresses to arrive on a switch in authorization mode. It is intended for device to device network connection on ports which do not require MACSEC encryption. |
11 | I0_REG_P0_MACONLY | R/W | 0h | MAC Only - When set enables this port be treated like a MAC port for the host. All traffic received is only sent to the host. The host must direct traffic to this port as the lookup engine will not send traffic to the ports with the p0_maconly bit set and the p0_no_learn also set. If p0_maconly bit is set and the p0_no_learn is not set, the host can send non-directed packets that can be sent to the destination of a MacOnly port. It is also possible that The host can broadcast to all ports including MacOnly ports in this mode. |
10 | I0_REG_P0_TRUNKEN | R/W | 0h | Trunk Enable - This field is used to enable a port into a trunk. Any port can be used as a trunk port, any two or more ports with the p0_trunken its set and having the same p0_trunknum will be placed in the same trunk. There is no requirement for trunk ports to be adjacent. If all ports are enabled in the same trunk, no traffic can flow as traffic received within a trunk is never trasnmitted out the same trunk. If only a single port is a member of a trunk, it looks like a normal port with exception of entries in the look up table will be noted as a trunk entry. |
9:8 | I0_REG_P0_TRUNKNUM | R/W | 0h | Trunk Number - This field is used as the trunk number when the p0_trunken is also set. Ports with the same trunk number that have the p0_trunken also set will have traffic distributed within the trunk based on the result of the hash function descrived above. |
7 | I0_REG_P0_MIRROR_SP | R/W | 0h | Mirror Source Port - This field enables the source port mirror option. When this bit is set any traffic received on the port with the reg_p0_mirror_sp bit set will have its received traffic also sent to the mirror_top port. |
6 | RESERVED | NONE | 0h | Reserved |
5 | I0_REG_P0_NO_SA_UPDATE | R/W | 0h | No Source Address Update - When set will not update the source addresses for this port. |
4 | I0_REG_P0_NO_LEARN | R/W | 0h | No Learn - When set will not learn the source addresses for this port. |
3 | I0_REG_P0_VID_INGRESS_CHECK | R/W | 0h | VLAN Ingress Check - When set if a packet received is not a member of the VLAN, the packet will be dropped. |
2 | I0_REG_P0_DROP_UN_TAGGED | R/W | 0h | If Drop Untagged - When set will drop packets without a VLAN tag. |
1:0 | I0_REG_P0_PORTSTATE | R/W | 0h | Port State - Defins the current port state used for lookup operations. 0 - Disabled 1 - Blocked 2 - Learning 3 - Forwarding |