ixgbe: Fixup the watchdog interrupt scheduling on 82599
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 19 Mar 2009 01:24:04 +0000 (01:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2009 08:17:29 +0000 (01:17 -0700)
commit22d5a71b50df739abaee83e2fdb191f8aa6b037c
tree8a04b7033bda976f1fefd3389f77bab1d35034ce
parente63d9762929d9b86ac87cfb8047e7f7b1f2ed2dd
ixgbe: Fixup the watchdog interrupt scheduling on 82599

The watchdog will schedule an interrupt to help make sure queues are
cleaned in the case when an interrupt is missed, most likely due to very
high load.  On 82599, there are extra interrupt registers to account for
the larger number of MSI-X vectors (64 total for 82599 vs. 18 total for
82598).  These must be taken into account when performing this operation in
the watchdog.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-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