Re: Is interrupt priority supported ?

From: Robert Hancock
Date: Thu Feb 19 2009 - 19:26:24 EST


Jose Luis Marchetti wrote:
Hi,

I am experiencing serial (115K) data loss when I have concurrent heavy Ethernet traffic. I have added some basic trace into the UART driver and could confirm the Ethernet data interrupt, if with enough data and happening in the right place would cause the UART FIFO to fill.
BTW this is happening on a embedded processor, not on the usual ( and fast ) PC.
Then I tried to set the serial interrupt priority to be higher than the Ethernet interrupt priority, just because the UART I am using have just 4 bytes of FIFO while the Ethernet have thousands...

But I am not able to find where this is done in Linux, is interrupt priority supported at all ?

Thanks in advance for any comments,

You didn't say what platform this was, it likely matters a fair bit.

I don't know that changing interrupt priority is necessarily likely to do much, though. If the network card driver is disabling interrupts while handling packets and that's what's causing the problem, then it won't help.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/