alex@pilosoft.com wrote: > On Sun, 22 Aug 2004, Anantha Kiran wrote: > > No, we are not using NAPI for this. But we wrote a net_hook > > module which catches the pkts before allowing it to go upper > > layers. > > You should use NAPI. Without NAPI, interrupt load will kill your > machine. > > vmstat 1 -> if number of 'in' (interrupts) is more than 2000, you > are not using NAPI. Hmmmm. At first NAPI is used for Rx only in most of drivers AFAIK. And 2.4.26 kernel with e100 driver from http://sf.net/projects/e1000 (3.0.17 if I remember correctly) CONFIG_E100_NAPI defined, router with two ethernet interfaces - forwarding ~15 kpps most of time, but I still see 30k interrupts from "vmstat 1" output. Am I doing something wrong? -- Hasso Tepper Elion Enterprises Ltd. WAN administrator - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html