SPRUJ42E March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
PRODUCTION DATA
The Control Enables color marking as well as internal ALE packet dropping rules.
Return to Summary Table
Instance Name | Physical Address |
---|---|
CPSW0 | 5283 E124h |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
POLICING_EN | RESERVED | RED_DROP_EN | YELLOW_DROP_EN | RESERVED | YELLOWTHRESH | ||
R/W | NONE | R/W | R/W | NONE | R/W | ||
0h | 0h | 0h | 0h | 0h | 0h | ||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
POLMCHMODE | PRIORITY_THREAD_EN | MAC_ONLY_DEF_DIS | RESERVED | ||||
R/W | R/W | R/W | NONE | ||||
0h | 0h | 0h | 0h | ||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | |||||||
NONE | |||||||
0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | |||||||
NONE | |||||||
0h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | POLICING_EN | R/W | 0h | Policing Enable - Enables the policing to color the packets, this also enables red or yellow drop capabilities. |
30 | RESERVED | NONE | 0h | Reserved |
29 | RED_DROP_EN | R/W | 0h | RED Drop Enable - Enables the ALE to drop the red colored packets. |
28 | YELLOW_DROP_EN | R/W | 0h | WELLOW Drop Enable - Enables the ALE to drop yellow packets based on the yellowthresh value. This field would normally not be used as to let the switch drop packets at a buffer threshold instead. In the event that the switch does not enable buffer threshold dropping, YELLOW packets can be dropped based on this feature. |
27 | RESERVED | NONE | 0h | Reserved |
26:24 | YELLOWTHRESH | R/W | 0h | Yellow Threshold - When set enables a portion of the yellow packets to be dropped based on the yellow_drop_en enable. 0-100% 1=50% 2-33% 3-25% 4=20% 5-17% 6-14% 7-13% |
23:22 | POLMCHMODE | R/W | 0h | Policing Match Mode - This field determines what happens to packets that fail to hit any policing/classifier entry. 0 - No Hit packets are marked GREEN 1 - No Hit packets are marked YELLOW 2 - No Hit packets are marked RED 3 - No Hit packets are marked based on policing/classifier entry=0 state. |
21 | PRIORITY_THREAD_EN | R/W | 0h | Priority Thread Enable - This field determines if priority is OR'd to the default thread when no classifiers hit and the default thread is enabled. |
20 | MAC_ONLY_DEF_DIS | R/W | 0h | MAC Only Default Disable - This field when set disables the default thread on MAC Only Ports. That is the default thread will be {port,priority}. If the traffic matches a classifier with a thread mapping, the classifier thread mapping still occurs. |
19:0 | RESERVED | NONE | 0h | Reserved |