Commit d650fb40 authored by Alice Michael's avatar Alice Michael Committed by Jeff Kirsher

iavf: rename i40e functions to be iavf

Update the old i40e function names to be iavf
Signed-off-by: default avatarAlice Michael <alice.michael@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 80754bbc
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
#include "iavf_prototype.h" #include "iavf_prototype.h"
/** /**
* i40e_adminq_init_regs - Initialize AdminQ registers * iavf_adminq_init_regs - Initialize AdminQ registers
* @hw: pointer to the hardware structure * @hw: pointer to the hardware structure
* *
* This assumes the alloc_asq and alloc_arq functions have already been called * This assumes the alloc_asq and alloc_arq functions have already been called
**/ **/
static void i40e_adminq_init_regs(struct iavf_hw *hw) static void iavf_adminq_init_regs(struct iavf_hw *hw)
{ {
/* set head and tail registers in our local struct */ /* set head and tail registers in our local struct */
hw->aq.asq.tail = IAVF_VF_ATQT1; hw->aq.asq.tail = IAVF_VF_ATQT1;
...@@ -519,7 +519,7 @@ enum iavf_status iavf_init_adminq(struct iavf_hw *hw) ...@@ -519,7 +519,7 @@ enum iavf_status iavf_init_adminq(struct iavf_hw *hw)
} }
/* Set up register offsets */ /* Set up register offsets */
i40e_adminq_init_regs(hw); iavf_adminq_init_regs(hw);
/* setup ASQ command write back timeout */ /* setup ASQ command write back timeout */
hw->aq.asq_cmd_timeout = I40E_ASQ_CMD_TIMEOUT; hw->aq.asq_cmd_timeout = I40E_ASQ_CMD_TIMEOUT;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
/* adminq functions */ /* adminq functions */
enum iavf_status iavf_init_adminq(struct iavf_hw *hw); enum iavf_status iavf_init_adminq(struct iavf_hw *hw);
enum iavf_status iavf_shutdown_adminq(struct iavf_hw *hw); enum iavf_status iavf_shutdown_adminq(struct iavf_hw *hw);
void i40e_adminq_init_ring_data(struct iavf_hw *hw); void iavf_adminq_init_ring_data(struct iavf_hw *hw);
enum iavf_status iavf_clean_arq_element(struct iavf_hw *hw, enum iavf_status iavf_clean_arq_element(struct iavf_hw *hw,
struct i40e_arq_event_info *e, struct i40e_arq_event_info *e,
u16 *events_pending); u16 *events_pending);
...@@ -33,7 +33,7 @@ bool iavf_asq_done(struct iavf_hw *hw); ...@@ -33,7 +33,7 @@ bool iavf_asq_done(struct iavf_hw *hw);
void iavf_debug_aq(struct iavf_hw *hw, enum iavf_debug_mask mask, void iavf_debug_aq(struct iavf_hw *hw, enum iavf_debug_mask mask,
void *desc, void *buffer, u16 buf_len); void *desc, void *buffer, u16 buf_len);
void i40e_idle_aq(struct iavf_hw *hw); void iavf_idle_aq(struct iavf_hw *hw);
void iavf_resume_aq(struct iavf_hw *hw); void iavf_resume_aq(struct iavf_hw *hw);
bool iavf_check_asq_alive(struct iavf_hw *hw); bool iavf_check_asq_alive(struct iavf_hw *hw);
enum iavf_status iavf_aq_queue_shutdown(struct iavf_hw *hw, bool unloading); enum iavf_status iavf_aq_queue_shutdown(struct iavf_hw *hw, bool unloading);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment