IGB driver not getting Rx interrupt
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Sun May 13 23:53:21 CEST 2012
Hi,
On Thu May 10, 2012 at 15:14:47 -0700, Shashi Sharma wrote:
> I am pretty sure now that Fiasco's ISR is not getting invoked. I put a
> printf in the following interrupt handler in fiasco's
> src/kern/ia32/dirq-ia32-ux.cpp.
>
> ----
> extern "C" FIASCO_FASTCALL
> void
> irq_interrupt(Mword _irqobj, Mword ip)
> ----------
>
> And it never gets invoked.
Ok.
> You suggested in your last e-mail to "check whether the card is
> reporting a pending interrupt". But I dont really know how to do that.
> Is there some way in JDB to do that?
Usually a device has a device register that indicates whether an
interrupt has been asserted. So in JDB you could look up the this
register, or add some printf in the driver or so to see if its contents
change after some packet transfer should have happened.
Adam
--
Adam adam at os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
More information about the l4-hackers
mailing list