diff options
author | Alan Brady <alan.brady@intel.com> | 2017-04-05 14:50:56 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-04-08 12:53:49 +0300 |
commit | 17daabb5e8db2b7de742f59dd73aa12550143e0d (patch) | |
tree | 447f515dcb47619956b8658d0c1a9e4422bc8344 /drivers/android/Makefile | |
parent | 373149fc99a077700339e18839484a852e7b0971 (diff) | |
download | linux-17daabb5e8db2b7de742f59dd73aa12550143e0d.tar.xz |
i40e: Simplify i40e_detect_recover_hung_queue logic
This patch greatly reduces the unneeded complexity in the
i40e_detect_recover_hung_queue code path. The previous implementation
set a 'hung bit' which would then get cleared while polling. If the
detection routine was called a second time with the bit already set, we
would issue a software interrupt. This patch makes it such that if
interrupts are disabled and we have pending TX descriptors, we trigger a
software interrupt since in, the worst case, queues are already clean
and we have an extra interrupt.
Additionally this patch removes the workaround for lost interrupts as
calling napi_reschedule in this context can cause software interrupts to
fire on the wrong CPU.
Change-ID: Iae108582a3ceb6229ed1d22e4ed6e69cf97aad8d
Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/android/Makefile')
0 files changed, 0 insertions, 0 deletions