摘要 |
Methods, apparatus, and articles of manufacture for efficiently handling incoming network traffic by preventing protocol stack overruns and minimizing packet latency are disclosed herein. Embodiments of the present invention monitor the level of a protocol stack's packet queue, and, in response to an increase in the level of the packet queue above an initial threshold value, disable the generation of receive interrupts from the communications interface, disable automatic packet indication of packets by the device driver to the protocol stack, and identify and indicate new incoming packets to the protocol stack at a rate equal to or less than the rate at which packets are being processed by the protocol stack. In addition, in response to a decrease in the level of the packet queue below an exit threshold value, the generation of receive interrupts and the automatic indication of packets to the protocol stack may be re-enabled.
|