|
@@ -837,10 +837,15 @@ i40e_status i40evf_asq_send_command(struct i40e_hw *hw,
|
|
/* update the error if time out occurred */
|
|
/* update the error if time out occurred */
|
|
if ((!cmd_completed) &&
|
|
if ((!cmd_completed) &&
|
|
(!details->async && !details->postpone)) {
|
|
(!details->async && !details->postpone)) {
|
|
- i40e_debug(hw,
|
|
|
|
- I40E_DEBUG_AQ_MESSAGE,
|
|
|
|
- "AQTX: Writeback timeout.\n");
|
|
|
|
- status = I40E_ERR_ADMIN_QUEUE_TIMEOUT;
|
|
|
|
|
|
+ if (rd32(hw, hw->aq.asq.len) & I40E_VF_ATQLEN1_ATQCRIT_MASK) {
|
|
|
|
+ i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE,
|
|
|
|
+ "AQTX: AQ Critical error.\n");
|
|
|
|
+ status = I40E_ERR_ADMIN_QUEUE_CRITICAL_ERROR;
|
|
|
|
+ } else {
|
|
|
|
+ i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE,
|
|
|
|
+ "AQTX: Writeback timeout.\n");
|
|
|
|
+ status = I40E_ERR_ADMIN_QUEUE_TIMEOUT;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
asq_send_command_error:
|
|
asq_send_command_error:
|