On 18 January 2013 06:30, Barney Cordoba <[email protected]> wrote:

> I don't see the distinction between the rx thread getting re-scheduled
> "immediately" vs introducing another thread. In fact you increase missed
> interrupts by this method. The entire point of interrupt moderation is
> to tune the intervals where a driver is processed.

The problem with interrupt moderation combined with enabling/disabling
interrupts is that if you get it even slightly wrong,
you won't run the packet processing thread(s) until the next interrupt
occurs - even if something is in the queue.

There's been a class of bugs in the em driver that resemble this. Same
as what I found in ath(4) - even the TX watchdog code is broken like
this :(




Adrian
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to