摘要 |
A network interface is polled by a host computer system process to whether any packets have been received. Interrupts that would normally be issued by the network interface in response to the transfer of packets to the host system are suppressed during polling. If, however, a predetermined period of time elapses or a predetermined number of packets are received after a previous poll or a previous interrupt, then an interrupt may be generated. A time counter may track the passage of time; a packet counter may track the number of packets. After each polling operation or processing of an interrupt, the time and packet counters are reset to threshold values and decrement toward a final time count and a final packet count. Thus, a packet transferred after one polling operation or interrupt does not cause the issuance of an interrupt to the host processor unless a time or packet counter reaches its final value.
|