Adjust PFC watchdog detection algorithm to reduce false alarms.
In the old PFC watchdog detection algorithm, the PFC watchdog can be triggered if either of the following conditions is satisfied in a detection interval:
There are packets accumulated in the queue && there is no packet sent out of the queue && there are PFC frames received in the queue
There is no packet accumulated in the queue and there are PFC frames received and blocking more than 80% of the detection interval.
The new PFC watchdog detection algorithm merges two conditions into one:
The PFC watchdog is triggered only if:
There are packets accumulated in the queue && there is no packet sent out of the queue && there are PFC frames received and blocking more than 99% of the detection interval.
What I did
Adjust PFC watchdog detection algorithm to reduce false alarms.
In the old PFC watchdog detection algorithm, the PFC watchdog can be triggered if either of the following conditions is satisfied in a detection interval:
There are packets accumulated in the queue && there is no packet sent out of the queue && there are PFC frames received in the queue There is no packet accumulated in the queue and there are PFC frames received and blocking more than 80% of the detection interval. The new PFC watchdog detection algorithm merges two conditions into one: The PFC watchdog is triggered only if:
There are packets accumulated in the queue && there is no packet sent out of the queue && there are PFC frames received and blocking more than 99% of the detection interval.