lkml.org 
[lkml]   [2009]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Is interrupt priority supported ?
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.


\
 
 \ /
  Last update: 2009-02-20 01:29    [W:0.507 / U:1.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site