Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixl/i40e_lan_hmc.c
Show First 20 Lines • Show All 540 Lines • ▼ Show 20 Lines | wr32(hw, I40E_GLHMC_FCOEFBASE(hmc_fn_id), | ||||
(u32)((obj->base & I40E_GLHMC_FCOEFBASE_FPMFCOEFBASE_MASK) / 512)); | (u32)((obj->base & I40E_GLHMC_FCOEFBASE_FPMFCOEFBASE_MASK) / 512)); | ||||
wr32(hw, I40E_GLHMC_FCOEFCNT(hmc_fn_id), obj->cnt); | wr32(hw, I40E_GLHMC_FCOEFCNT(hmc_fn_id), obj->cnt); | ||||
configure_lan_hmc_out: | configure_lan_hmc_out: | ||||
return ret_code; | return ret_code; | ||||
} | } | ||||
/** | /** | ||||
* i40e_delete_hmc_object - remove hmc objects | * i40e_delete_lan_hmc_object - remove hmc objects | ||||
* @hw: pointer to the HW structure | * @hw: pointer to the HW structure | ||||
* @info: pointer to i40e_hmc_delete_obj_info struct | * @info: pointer to i40e_hmc_delete_obj_info struct | ||||
* | * | ||||
* This will de-populate the SDs and PDs. It frees | * This will de-populate the SDs and PDs. It frees | ||||
* the memory for PDS and backing storage. After this function is returned, | * the memory for PDS and backing storage. After this function is returned, | ||||
* caller should deallocate memory allocated previously for | * caller should deallocate memory allocated previously for | ||||
* book-keeping information about PDs and backing storage. | * book-keeping information about PDs and backing storage. | ||||
**/ | **/ | ||||
▲ Show 20 Lines • Show All 855 Lines • Show Last 20 Lines |