Patent ID: 8510403

Claim:
A device comprising: one or more ports to connect to physical transport media for a network; a memory to store packets received from the network at the one or more ports; and an interrupt controller to: store an initial number used for determining an interrupt; determine a first quantity of packets received during a first period of time; determine, upon an expiration of the first period of time, a number associated with a second quantity of packets to receive before generating the interrupt, the interrupt controller, when determining the number, being to: apply a function to a value to produce a result, the value being based on the initial number, a number of interrupts generated during another period of time, and a threshold number of interrupts, the other period of time occurring prior to the first period of time, and use the produced result to determine the number; determine a third quantity of packets received during a second period of time; update the number to a second number based on the determined third quantity of packets; determine a fourth quantity of packets received during a third period of time; determine a relationship between the fourth quantity of packets and the second number; update the second number based on the relationship; and issue the interrupt based on the updated second number.