aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40evf/i40e_prototype.h
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@intel.com>2015-06-04 16:24:01 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-07-23 05:31:35 -0700
commitf1c7e72e3903910d7cc25ed8f45b9ef42b96037d (patch)
tree329f8d216fdc6e56d96f8837c7c923395038c175 /drivers/net/ethernet/intel/i40evf/i40e_prototype.h
parenti40e: provide correct API version to older VF drivers (diff)
downloadlinux-dev-f1c7e72e3903910d7cc25ed8f45b9ef42b96037d.tar.xz
linux-dev-f1c7e72e3903910d7cc25ed8f45b9ef42b96037d.zip
i40e: clean up error status messages
Clean up a little confusion in reporting error status in phy and fcoe setup error reports by separating the return status from the AQ error. Add two decoder functions to make this easier. Change-ID: I960bcdeef3978a15fec1cdb5eff781d5cbae42fb Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf/i40e_prototype.h')
-rw-r--r--drivers/net/ethernet/intel/i40evf/i40e_prototype.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40e_prototype.h b/drivers/net/ethernet/intel/i40evf/i40e_prototype.h
index 58e37a44b80a..856eb9d06595 100644
--- a/drivers/net/ethernet/intel/i40evf/i40e_prototype.h
+++ b/drivers/net/ethernet/intel/i40evf/i40e_prototype.h
@@ -60,6 +60,8 @@ void i40e_idle_aq(struct i40e_hw *hw);
void i40evf_resume_aq(struct i40e_hw *hw);
bool i40evf_check_asq_alive(struct i40e_hw *hw);
i40e_status i40evf_aq_queue_shutdown(struct i40e_hw *hw, bool unloading);
+char *i40evf_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err);
+char *i40evf_stat_str(struct i40e_hw *hw, i40e_status stat_err);
i40e_status i40e_set_mac_type(struct i40e_hw *hw);