summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/i40e/i40e_hmc.c
diff options
context:
space:
mode:
authorCarolyn Wyborny <carolyn.wyborny@intel.com>2015-06-10 13:42:07 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-07-23 05:13:08 -0700
commitde32e3efd58e9e6754e911618ac7941979ceb6b1 (patch)
tree9d0349c4e94101c60f9928a96fa7c6ec4e6c64b1 /drivers/net/ethernet/intel/i40e/i40e_hmc.c
parent6fb469023cd995d7be5ab3bf12b79387710382ff (diff)
downloadlinux-de32e3efd58e9e6754e911618ac7941979ceb6b1.tar.gz
linux-de32e3efd58e9e6754e911618ac7941979ceb6b1.tar.xz
i40e/i40evf: Fix and refactor dynamic ITR code
This patch changes the switch statement for dynamic interrupt throttling and adds a default case. With this patch, we check the latency setting instead of the current ITR settings and the included refactor improves performance. Without this patch, the ITR setting would never change dynamically, and there was no default. Change-ID: Idb5a8a14c7109ec47c90f6e94bd43baa17d7ee37 Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_hmc.c')
0 files changed, 0 insertions, 0 deletions