Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixl/i40e_adminq.c
Show First 20 Lines • Show All 542 Lines • ▼ Show 20 Lines | shutdown_arq_out: | ||||
i40e_release_spinlock(&hw->aq.arq_spinlock); | i40e_release_spinlock(&hw->aq.arq_spinlock); | ||||
return ret_code; | return ret_code; | ||||
} | } | ||||
/** | /** | ||||
* i40e_resume_aq - resume AQ processing from 0 | * i40e_resume_aq - resume AQ processing from 0 | ||||
* @hw: pointer to the hardware structure | * @hw: pointer to the hardware structure | ||||
**/ | **/ | ||||
#if 0 | |||||
static void i40e_resume_aq(struct i40e_hw *hw) | static void i40e_resume_aq(struct i40e_hw *hw) | ||||
#endif | |||||
void i40e_resume_aq(struct i40e_hw *hw) | |||||
{ | { | ||||
/* Registers are reset after PF reset */ | /* Registers are reset after PF reset */ | ||||
hw->aq.asq.next_to_use = 0; | hw->aq.asq.next_to_use = 0; | ||||
hw->aq.asq.next_to_clean = 0; | hw->aq.asq.next_to_clean = 0; | ||||
i40e_config_asq_regs(hw); | i40e_config_asq_regs(hw); | ||||
hw->aq.arq.next_to_use = 0; | hw->aq.arq.next_to_use = 0; | ||||
▲ Show 20 Lines • Show All 521 Lines • Show Last 20 Lines |