]> 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)
commiteb40f5ef3b2ca1b22897ba4fc7f6507d9c69c24a
treefe4dec3fe8c03bcdb5406b449637d61251d5daf5
parent12e4f51ac4bb5e08520cdff4711952e25d65a6f7
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