]> git.baikalelectronics.ru Git - kernel.git/commit
e1000: fix NAPI performance on 4-port adapters
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 18 Jan 2007 17:25:23 +0000 (09:25 -0800)
committerJeff Garzik <jeff@garzik.org>
Mon, 5 Feb 2007 21:58:41 +0000 (16:58 -0500)
commit33c5fd91d8cf396b651977a58ec6a8824441efc6
tree0f3724c16dac27138f55ff125af1351b586e328b
parent9da67f5f9029187c247f35b08f489efeb83ffceb
e1000: fix NAPI performance on 4-port adapters

This fix attempts to solve a customer (IBM) reported issue with NAPI
enabled e1000 having bad performance when transmitting simultaneously
on four ports.  The issue comes down to an interaction between NAPI,
hardware interrupt balancing, and the driver rescheduling poll on
the same processor.  Try to fix by allowing the driver to re-enable
interrupts sooner instead of polling one more time, when there was
recently all the work completed in cleanup.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
drivers/net/e1000/e1000_main.c