aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2016-01-13 16:51:45 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-02-17 14:39:07 -0800
commit40d72a50986271e5c30f111e08ebd6d846708bbc (patch)
treee2244f151b856b4fae0492a7434ce2f46503282e /drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c
parenti40evf: Change vf driver string to reflect all products i40evf supports (diff)
downloadlinux-dev-40d72a50986271e5c30f111e08ebd6d846708bbc.tar.xz
linux-dev-40d72a50986271e5c30f111e08ebd6d846708bbc.zip
i40e/i40evf: don't lose interrupts
While re-enabling interrupts the driver would clear all pending causes. This meant that if an interrupt was generated while the driver was cleaning or polling with interrupts disabled, then that interrupt was lost. This could cause a queue to become dead, especially for receive. Refactored the enable_icr0 function in order to allow it to be decided by the caller whether the CLEARPBA (clear pending events) bit will be set while re-enabling the interrupt. Also update copyright year in file headers. Change-ID: Ic1db100a05e13c98919057696db147a258ca365a Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c')
0 files changed, 0 insertions, 0 deletions