i40e/i40evf: Update check for AQ aliveness
authorKevin Scott <kevin.c.scott@intel.com>
Wed, 9 Apr 2014 05:58:54 +0000 (05:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 29 May 2014 09:02:25 +0000 (02:02 -0700)
commit8b833b4faa76df878cbf6059212093f2842c3962
treed011f06663b04fef922f1aad19e59df9ba1856a8
parent6623b4194459c07859d3e3196c3994fa7be5b88e
i40e/i40evf: Update check for AQ aliveness

Update the i40e_check_asq_alive check to ensure that the len register
offset is non-zero, indicating that SW has initialized the AQ.

Change-ID: I9c2e804788b4775bef9c7e80954ab004e6bdb306
Signed-off-by: Kevin Scott <kevin.c.scott@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40evf/i40e_common.c