Interrupt Moderation
First Claim
Patent Images
1. An interrupt handler, comprising:
- a plurality of interrupt blocks, each comprising a first timer; and
interrupt coalescing logic, comprising;
first timer initialization logic, configured to initialize the first timer to a first predetermined value;
interrupt condition logic;
first timer expiration logic, configured to trigger an interrupt upon expiration of the first timer if the interrupt condition logic indicates an interrupt condition exists; and
first timer reset logic, configured to cause the first timer initialization logic to initialize the first timer upon expiration of the first timer if the interrupt condition logic indicates no interrupt condition exists.
2 Assignments
0 Petitions
Accused Products
Abstract
A technique for interrupt moderation allows coalescing interrupts from a device into groups to be processed as a batch by a host processor. Receive and send completions may be processed differently. When the host is interrupted for receive completions, it may check for send completions, reducing the need for interrupts related to send completions. Timers and a counter allow coalescing interrupts into a single interrupt that can be used to signal the host to process multiple completions. The technique is suitable for both dedicated interrupt line and message-signaled interrupts.
6 Citations
20 Claims
-
1. An interrupt handler, comprising:
-
a plurality of interrupt blocks, each comprising a first timer; and interrupt coalescing logic, comprising; first timer initialization logic, configured to initialize the first timer to a first predetermined value; interrupt condition logic; first timer expiration logic, configured to trigger an interrupt upon expiration of the first timer if the interrupt condition logic indicates an interrupt condition exists; and first timer reset logic, configured to cause the first timer initialization logic to initialize the first timer upon expiration of the first timer if the interrupt condition logic indicates no interrupt condition exists. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A peripheral device, comprising:
a queue manager, comprising; a plurality of interrupt blocks, each comprising; a first timer; an index table, configured for storing information for servicing interrupts responsive to events; and interrupt coalescing logic, comprising; first timer initialization logic, configured to initialize the first timer of an interrupt block of the plurality of interrupt blocks to a first predetermined value associated with the interrupt block; interrupt condition logic; first timer expiration logic, configured to trigger an interrupt upon expiration of the first timer if the interrupt condition logic indicates an interrupt condition exists; and first timer reset logic, configured to cause the first timer initialization logic to initialize the first timer upon expiration of the first timer if the interrupt condition logic indicates no interrupt condition exists. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
Specification