i40e: Fix scheduling while atomic bug during NAPI
authorNeerav Parikh <neerav.parikh@intel.com>
Tue, 3 Jun 2014 23:50:17 +0000 (23:50 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 20 Jun 2014 03:22:04 +0000 (20:22 -0700)
commitb5d06f058b0bb52c39e4f1a32584dda712e0398f
tree7bdd3595f3f8ea0d536e047b063e8a1b6cc55fb8
parentc27936e7b2d57af2965a78973430383be98fe88a
i40e: Fix scheduling while atomic bug during NAPI

The bug is encountered when all the Tx hang recovery mechanisms have
failed and driver tries to bring down the interface in the interrupt context.
The patch defers this and schedules it for next cycle.

Change-ID: Id9cd1da15b0e5c018dce18da4d0eed5ef1e8a809
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_main.c