diff options
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40e_adminq.c')
-rw-r--r-- | drivers/net/ethernet/intel/i40evf/i40e_adminq.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40e_adminq.c b/drivers/net/ethernet/intel/i40evf/i40e_adminq.c index 003006033614..f206be917842 100644 --- a/drivers/net/ethernet/intel/i40evf/i40e_adminq.c +++ b/drivers/net/ethernet/intel/i40evf/i40e_adminq.c | |||
@@ -788,7 +788,8 @@ i40e_status i40evf_asq_send_command(struct i40e_hw *hw, | |||
788 | 788 | ||
789 | /* bump the tail */ | 789 | /* bump the tail */ |
790 | i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE, "AQTX: desc and buffer:\n"); | 790 | i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE, "AQTX: desc and buffer:\n"); |
791 | i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc_on_ring, buff); | 791 | i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc_on_ring, |
792 | buff, buff_size); | ||
792 | (hw->aq.asq.next_to_use)++; | 793 | (hw->aq.asq.next_to_use)++; |
793 | if (hw->aq.asq.next_to_use == hw->aq.asq.count) | 794 | if (hw->aq.asq.next_to_use == hw->aq.asq.count) |
794 | hw->aq.asq.next_to_use = 0; | 795 | hw->aq.asq.next_to_use = 0; |
@@ -842,7 +843,8 @@ i40e_status i40evf_asq_send_command(struct i40e_hw *hw, | |||
842 | 843 | ||
843 | i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE, | 844 | i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE, |
844 | "AQTX: desc and buffer writeback:\n"); | 845 | "AQTX: desc and buffer writeback:\n"); |
845 | i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, buff); | 846 | i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, buff, |
847 | buff_size); | ||
846 | 848 | ||
847 | /* update the error if time out occurred */ | 849 | /* update the error if time out occurred */ |
848 | if ((!cmd_completed) && | 850 | if ((!cmd_completed) && |
@@ -938,7 +940,8 @@ i40e_status i40evf_clean_arq_element(struct i40e_hw *hw, | |||
938 | hw->aq.nvm_busy = false; | 940 | hw->aq.nvm_busy = false; |
939 | 941 | ||
940 | i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE, "AQRX: desc and buffer:\n"); | 942 | i40e_debug(hw, I40E_DEBUG_AQ_MESSAGE, "AQRX: desc and buffer:\n"); |
941 | i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, e->msg_buf); | 943 | i40evf_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, e->msg_buf, |
944 | hw->aq.arq_buf_size); | ||
942 | 945 | ||
943 | /* Restore the original datalen and buffer address in the desc, | 946 | /* Restore the original datalen and buffer address in the desc, |
944 | * FW updates datalen to indicate the event message | 947 | * FW updates datalen to indicate the event message |