mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 20:25:28 +07:00
i40e: add a little more to an NVM update debug message
Add a little more detail to an NVM update debug message in order to see the full ethtool request data. Change-ID: Iab10437cb32d6fddc67ee347e7c0b42511e152cd Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Acked-by: Kevin Scott <kevin.c.scott@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
dd54a1ada9
commit
1d73b2db4b
@ -693,10 +693,11 @@ i40e_status i40e_nvmupd_command(struct i40e_hw *hw,
|
|||||||
/* early check for status command and debug msgs */
|
/* early check for status command and debug msgs */
|
||||||
upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno);
|
upd_cmd = i40e_nvmupd_validate_command(hw, cmd, perrno);
|
||||||
|
|
||||||
i40e_debug(hw, I40E_DEBUG_NVM, "%s state %d nvm_release_on_hold %d\n",
|
i40e_debug(hw, I40E_DEBUG_NVM, "%s state %d nvm_release_on_hold %d cmd 0x%08x config 0x%08x offset 0x%08x data_size 0x%08x\n",
|
||||||
i40e_nvm_update_state_str[upd_cmd],
|
i40e_nvm_update_state_str[upd_cmd],
|
||||||
hw->nvmupd_state,
|
hw->nvmupd_state,
|
||||||
hw->aq.nvm_release_on_done);
|
hw->aq.nvm_release_on_done,
|
||||||
|
cmd->command, cmd->config, cmd->offset, cmd->data_size);
|
||||||
|
|
||||||
if (upd_cmd == I40E_NVMUPD_INVALID) {
|
if (upd_cmd == I40E_NVMUPD_INVALID) {
|
||||||
*perrno = -EFAULT;
|
*perrno = -EFAULT;
|
||||||
|
Loading…
Reference in New Issue
Block a user