igb: Use rx/tx_itr_setting when setting up initial value of itr
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 12 Feb 2013 02:31:01 +0000 (02:31 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Apr 2013 23:40:12 +0000 (16:40 -0700)
commit4e22766758cb8c971c971f3d335b974aaeb235fa
tree2d30f72f39909089a6a5736b217566870d38e78d
parentb646c22edef1c350d26237a6f60d3a890ceedf6e
igb: Use rx/tx_itr_setting when setting up initial value of itr

It turns out that the InterruptThrottleRate module parameter was only
having the effect of locking the ITR at the starting ITR value. This was
because the values stored in rx_itr_setting and tx_itr_setting were being
ignored when configuring the initial itr_val of the q_vector.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c