summaryrefslogtreecommitdiffstats
path: root/net/ieee802154/6lowpan.c
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-04-20 10:51:45 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-04-25 07:45:35 +0200
commit727c356f4d799b53f94cf8fe43e19d64482348c7 (patch)
tree6593d0cf2299e0cc6e2ca42274ff2a40cd49517b /net/ieee802154/6lowpan.c
parente1000e: MSI interrupt test failed, using legacy interrupt (diff)
downloadlinux-727c356f4d799b53f94cf8fe43e19d64482348c7.tar.xz
linux-727c356f4d799b53f94cf8fe43e19d64482348c7.zip
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>
Diffstat (limited to 'net/ieee802154/6lowpan.c')
0 files changed, 0 insertions, 0 deletions