Re: Bypass softnet

2005-08-05 Thread Daniel Phillips
On Saturday 06 August 2005 02:33, David S. Miller wrote: > You can't call into the networking packet input path from > hardware interrupt context, it simply is not allowed. > > And that's the context in which netif_rx() gets called. Duh. I assumed we already were in softirq context here (but with

Re: Bypass softnet

2005-08-05 Thread David S. Miller
You can't call into the networking packet input path from hardware interrupt context, it simply is not allowed. And that's the context in which netif_rx() gets called. That is why netif_rx() just queues, and schedules a software interrupt in which the netif_receive_skb() call gets made. - To uns

Bypass softnet

2005-08-05 Thread Daniel Phillips
Hi, OK, I am still a network klutz. The attached patch changes netif_rx to call netif_receive_skb directly instead of going through softnet. It works with my e1000 here, but eventually oopses under moderate load. I see that a few drivers use netif_receive_skb directly, sometimes together wit