]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: enable interrupt 0 appropriately
authorMitch A Williams <mitch.a.williams@intel.com>
Tue, 9 Dec 2014 08:53:07 +0000 (08:53 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 13 Jan 2015 19:47:44 +0000 (11:47 -0800)
commit44a36873a7ab9d9c7adfd7b72670d066ac9e06e0
treefe4dec3fe8c03bcdb5406b449637d61251d5daf5
parent9461da3e9b84e7655b8f985d32beb8f81275bf0c
i40evf: enable interrupt 0 appropriately

Don't enable vector 0 in the ISR, just schedule the adminq task and let
it enable the vector. This prevents the task from being called
reentrantly. Make sure that the vector is enabled on all exit paths of
the adminq task, including error exits.

Change-ID: I53f3d14f91ed7a9e90291ea41c681122a5eca5b5
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c