]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf28a51aef28bb25dab49d6a12258dc3264e9bb2a
treee9daed81479941cbdf665830c0c26cecc873b63b
parent6f462431231c4b0642848dc1872610572a463a3f
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