ixgbe: use EIAM to automask MSI-X
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 3 Dec 2009 11:33:54 +0000 (11:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 23:43:22 +0000 (15:43 -0800)
commit9b471446cb376e2d1a4ceb4695059acfc3437f32
tree9578694e15b99da7a797924d1c087e506d8126fc
parent7ca3bc582cd24c2e6c0693a2ba2c71f3c2419c8b
ixgbe: use EIAM to automask MSI-X

when disabling interrupts, driver was writing with IO, this is no
necessary because on ixgbe parts the hardware can "oneshot"
disable and clear the interrupt.  So on 82598/82599 use of EIAM
should avoid one posted write per interrupt when in MSI-X mode.
This should improve performance and seems to in my limited
testing, reduce CPU utilization VERY slightly.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c