linux/drivers/net/ethernet/intel/e1000e
Jeff Kirsher 727c356f4d e1000e: Fix default interrupt throttle rate not set in NIC HW
Based on the original patch from  Ying Cai <ycai@google.com>
This change ensures that the itr/itr_setting adjustment logic is used,
even for the default/compiled-in value.

Context:
  When we changed the default InterruptThrottleRate value from default
  (3 = dynamic mode) to 8000 for example, only adapter->itr_setting
  (which controls interrupt coalescing mode) was set to 8000, but
  adapter->itr (which controls the value set in NIC register) was not
  updated accordingly. So from ethtool, it seemed the interrupt
  throttling is enabled at 8000 intr/s, but the NIC actually was
  running in dynamic mode which has lower CPU efficiency especially
  when throughput is not high.

CC: Ying Cai <ycai@google.com>
CC: David Decotigny <david.decotigny@google.com>
Signed-off-by: Jeff Kirsher <jeffrey.kirsher@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
2012-04-24 22:45:35 -07:00
..
80003es2lan.c e1000e: rename e1000e_reload_nvm() and call as function pointer 2012-02-24 21:43:21 -08:00
82571.c e1000e: cleanup whitespace and indentation 2012-02-29 23:12:45 -08:00
defines.h e1000e: Support RXALL feature flag. 2012-02-24 01:44:50 -08:00
e1000.h e1000e: prevent oops when adapter is being closed and reset simultaneously 2012-04-03 15:25:08 -07:00
ethtool.c e1000e: cleanup use of check_reset_block function pointer 2012-02-24 21:36:53 -08:00
hw.h e1000e: rename e1000e_reload_nvm() and call as function pointer 2012-02-24 21:43:21 -08:00
ich8lan.c e1000e: issues in Sx on 82577/8/9 2012-04-14 01:45:54 -07:00
mac.c e1000e: cleanup whitespace and indentation 2012-02-29 23:12:45 -08:00
Makefile
manage.c e1000e: cleanup use of check_mng_mode function pointer 2012-02-24 21:35:53 -08:00
netdev.c e1000e: MSI interrupt test failed, using legacy interrupt 2012-04-24 22:22:12 -07:00
nvm.c e1000e: rename e1000e_reload_nvm() and call as function pointer 2012-02-24 21:43:21 -08:00
param.c e1000e: Fix default interrupt throttle rate not set in NIC HW 2012-04-24 22:45:35 -07:00
phy.c e1000e: use msleep instead of mdelay 2012-02-29 23:14:19 -08:00