8. Performance > Congestion Detection and Management
199
Tsi576 User Manual
June 6, 2016
Integrated Device Technology
www.idt.com
Figure 44: Congestion and Detection Flowchart
Start
Receive packet
into egress queue
Number of
packets in queue
>=
Depth ?
Increment
Congestion Counter
by 1
Yes
No
Leak Rate timer expire
?
Congestion Period
timer expire
?
Yes
Yes
No
No
Increment
Congestion Period
Counter by 1
Yes
No
Clear
Congestion Period
Counter
Congestion Period
Counter read by software
?
Decrement
Congestion Counter
by 1
Congestion Counter
>= Congestion Threshold
?
Yes
No
Set OUTB_DEPTH
interrupt
Yes
No
Yes
No
Reset
Error Rate Bias
timer
Decrement
Congestion Counter
Congestion Counter
read by software
?
Error Rate Bias
timer expire
?
Wait for next
packet