aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/i40evf/i40e_adminq.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2014-06-04 20:41:38 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-06-30 23:46:11 -0700
commitfc86a970a4628e85242d81255dd789da35f344b4 (patch)
tree55b6cf761e4955ad98054ec3490be4ab624e6622 /drivers/net/ethernet/intel/i40evf/i40e_adminq.c
parent0b9754e9324b268d5ca14a0900ede7f350be489a (diff)
i40evf: set flags before sending message
In some circumstances, the firmware could beat us to the punch, and the reply from the PF would come back before we were able to properly modify the aq_pending and aq_required flags. This would mess up the flags and put the driver in an indeterminate state, much like Schrödinger's cat. However, unlike the cat, the driver is definitely dead. To fix this, simply set the flags before sending the request to the AQ. This way, it won't matter if the interrupt comes back too soon. Change-ID: I9784655e475675ebcb3140cc7f36f4a96aaadce5 Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40e_adminq.c')
0 files changed, 0 insertions, 0 deletions