|
@@ -788,7 +788,8 @@ i40e_status i40evf_asq_send_command(struct i40e_hw *hw,
|
|
|
|
|
|
/* bump the tail */
|
|
|
i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE, "AQTX: desc and buffer:\n");
|
|
|
- i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc_on_ring, buff);
|
|
|
+ i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc_on_ring,
|
|
|
+ buff, buff_size);
|
|
|
(hw->aq.asq.next_to_use)++;
|
|
|
if (hw->aq.asq.next_to_use == hw->aq.asq.count)
|
|
|
hw->aq.asq.next_to_use = 0;
|
|
@@ -842,7 +843,8 @@ i40e_status i40evf_asq_send_command(struct i40e_hw *hw,
|
|
|
|
|
|
i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE,
|
|
|
"AQTX: desc and buffer writeback:\n");
|
|
|
- i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, buff);
|
|
|
+ i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, buff,
|
|
|
+ buff_size);
|
|
|
|
|
|
/* update the error if time out occurred */
|
|
|
if ((!cmd_completed) &&
|
|
@@ -938,7 +940,8 @@ i40e_status i40evf_clean_arq_element(struct i40e_hw *hw,
|
|
|
hw->aq.nvm_busy = false;
|
|
|
|
|
|
i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE, "AQRX: desc and buffer:\n");
|
|
|
- i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, e->msg_buf);
|
|
|
+ i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, e->msg_buf,
|
|
|
+ hw->aq.arq_buf_size);
|
|
|
|
|
|
/* Restore the original datalen and buffer address in the desc,
|
|
|
* FW updates datalen to indicate the event message
|