* rx interrupt in userspace
@ 2010-04-20 17:31 ratheesh k
2010-04-20 18:00 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: ratheesh k @ 2010-04-20 17:31 UTC (permalink / raw)
To: netfilter
Hi ,
When flooding of network packets happens on network card , my
linux embedded box becomes unrepsonsive because softirq_rx eats up
hell a lot of CPU . I want top half of tx interrupt to be in User
space . I want to implement some alogoritm in userspace to drop
packets on high flooding and to keep other processes's some cycles .
Could you guide me a little on this , any online turorials or articles
or books , i can refer ?
Any similar implementation like this ?
Thanks,
Ratheesh.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rx interrupt in userspace
2010-04-20 17:31 rx interrupt in userspace ratheesh k
@ 2010-04-20 18:00 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2010-04-20 18:00 UTC (permalink / raw)
To: ratheesh k; +Cc: netfilter
On Tue, 20 Apr 2010 23:01:38 +0530
ratheesh k <ratheesh.ksz@gmail.com> wrote:
> Hi ,
>
> When flooding of network packets happens on network card , my
> linux embedded box becomes unrepsonsive because softirq_rx eats up
> hell a lot of CPU . I want top half of tx interrupt to be in User
> space . I want to implement some alogoritm in userspace to drop
> packets on high flooding and to keep other processes's some cycles .
>
> Could you guide me a little on this , any online turorials or articles
> or books , i can refer ?
> Any similar implementation like this ?
>
If your driver used NAPI, then it would not do this.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-20 18:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-20 17:31 rx interrupt in userspace ratheesh k
2010-04-20 18:00 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).