diff options
author | Renato Botelho <renato@netgate.com> | 2017-07-03 16:41:30 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-07-03 16:41:30 -0300 |
commit | b91e8edec6ef973706ceba5985379a0aded6a5aa (patch) | |
tree | 92c1d3976fd61f447f3e62225141c02b6ef4c320 /sys/dev/ixl/i40e_adminq.c | |
parent | 5fa580e9c45b6668f134701651fa17cad722750e (diff) | |
parent | ff3a058c4f832f66c1a779cf9bd05f758ad411d8 (diff) | |
download | FreeBSD-src-b91e8edec6ef973706ceba5985379a0aded6a5aa.zip FreeBSD-src-b91e8edec6ef973706ceba5985379a0aded6a5aa.tar.gz |
Merge remote-tracking branch 'origin/releng/11.1' into RELENG_2_5
Diffstat (limited to 'sys/dev/ixl/i40e_adminq.c')
-rw-r--r-- | sys/dev/ixl/i40e_adminq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ixl/i40e_adminq.c b/sys/dev/ixl/i40e_adminq.c index cfffc1f..6e922f5 100644 --- a/sys/dev/ixl/i40e_adminq.c +++ b/sys/dev/ixl/i40e_adminq.c @@ -1020,11 +1020,11 @@ enum i40e_status_code i40e_clean_arq_element(struct i40e_hw *hw, desc = I40E_ADMINQ_DESC(hw->aq.arq, ntc); desc_idx = ntc; + hw->aq.arq_last_status = + (enum i40e_admin_queue_err)LE16_TO_CPU(desc->retval); flags = LE16_TO_CPU(desc->flags); if (flags & I40E_AQ_FLAG_ERR) { ret_code = I40E_ERR_ADMIN_QUEUE_ERROR; - hw->aq.arq_last_status = - (enum i40e_admin_queue_err)LE16_TO_CPU(desc->retval); i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE, "AQRX: Event received with error 0x%X.\n", |