Handle 3 interrupts in DPC

Hello,

Attached a code for interrupt handler of MSI-X interrupt.
In a specific scenario, all 3 interrupts are generated by FPGA at the same time.
The ISR is called 3 times but the DPC is called only once.
Does it make sense ?

Should I check in DPC which interrupts were received ?

Thank you,
Zvika

Yes. The ISR just says “please run the DPC”. If the DPC is already queued but has not run, the call does nothing. Your DPC must handle any interrupts that have occurred.

Note that your dpc may find no interrupts to service or one or more interrupts.

Hi Tim, Mark,

Thank you very much !

Best regards,
Zvika