summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_status.h
diff options
context:
space:
mode:
authorEvan Swanson <evan.swanson@intel.com>2020-05-15 17:42:14 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2020-05-27 17:48:23 -0700
commitb5c7f857e5c98c21271678992fb2634df38292f5 (patch)
treea11174d558dc8db7096b170929bd7b6ca7a3d557 /drivers/net/ethernet/intel/ice/ice_status.h
parent1960827570c7ed83fb0725debf856b06f46e1a77 (diff)
ice: Handle critical FW error during admin queue initialization
A race condition between FW and SW can occur between admin queue setup and the first command sent. A link event may occur and FW attempts to notify a non-existent queue. FW will set the critical error bit and disable the queue. When this happens retry queue setup. Signed-off-by: Evan Swanson <evan.swanson@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_status.h')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_status.h b/drivers/net/ethernet/intel/ice/ice_status.h
index 546a02856d09..4028c6365172 100644
--- a/drivers/net/ethernet/intel/ice/ice_status.h
+++ b/drivers/net/ethernet/intel/ice/ice_status.h
@@ -37,6 +37,7 @@ enum ice_status {
ICE_ERR_AQ_FULL = -102,
ICE_ERR_AQ_NO_WORK = -103,
ICE_ERR_AQ_EMPTY = -104,
+ ICE_ERR_AQ_FW_CRITICAL = -105,
};
#endif /* _ICE_STATUS_H_ */