US 7,549,005 B1
System and method for managing interrupts
Shashank J. Pandhare, Aliso Viejo, Calif. (US); Thanh N. Nguyen, Ladera Ranch, Calif. (US); Ronald M. Mercer, Huntington Beach, Calif. (US); and Ying P. Lok, Ladera Ranch, Calif. (US)
Assigned to QLOGIC, Corporation, Aliso Viejo, Calif. (US)
Filed on Dec. 22, 2006, as Appl. No. 11/615,329.
Int. Cl. G06F 13/24 (2006.01)
U.S. Cl. 710—262  [710/240; 710/260] 16 Claims
OG exemplary drawing
 
1. A method for managing interrupts, comprising:
(a) assigning a first plurality of interrupt sources of an adapter to a first interrupt group;
(b) assigning a second plurality of interrupt sources of the adapter to at least a second interrupt group;
(c) notifying the adapter of the first interrupt group and the second interrupt group;
(d) writing a first interrupt to an interrupt module, wherein the first interrupt is received from a first interrupt source of the first plurality of interrupt sources of the first interrupt group;
(e) receiving a second interrupt;
(f) suspending the second interrupt until the first interrupt is processed, if the second interrupt is requested from a second interrupt source within the first interrupt group; and
(g) processing the second interrupt, while the first interrupt is being processed, if the second interrupt is received from an interrupt source of the second interrupt group.