igb: always use adapter->itr as EITR value
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 23 Apr 2009 11:20:29 +0000 (11:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 10:15:41 +0000 (03:15 -0700)
commit78b1f6070fa16cb442a7c48e8f5364cd84a88b90
treee9daed81479941cbdf665830c0c26cecc873b63b
parent011983048a120e520147361be1067dd82343038e
igb: always use adapter->itr as EITR value

The igb driver was switching between adapter->itr containing the EITR value
and the number of interrupts per second.  This resulted in high latencies
being seen after brining the interface down and then back up.  To resolve
the issue the itr value will now only contain the value that should be
programmed into EITR.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c