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)
commit7235448c9d90ca221587178e9b468839b2724440
treefe4dec3fe8c03bcdb5406b449637d61251d5daf5
parent4870e176aada5c214d2224a8596465a0f7fbab3d
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