]> err.no Git - linux-2.6/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)
commit60cba200f11b6f90f35634c5cd608773ae3721b7
tree0f3724c16dac27138f55ff125af1351b586e328b
parentb5fc8f0c43d388d76ebbb5650b20f4ce4420a5ad
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