|
@@ -397,7 +397,7 @@ static i40e_status i40e_create_lan_hmc_object(struct i40e_hw *hw,
|
|
|
/* remove the backing pages from pd_idx1 to i */
|
|
|
while (i && (i > pd_idx1)) {
|
|
|
i40e_remove_pd_bp(hw, info->hmc_info,
|
|
|
- (i - 1), true);
|
|
|
+ (i - 1));
|
|
|
i--;
|
|
|
}
|
|
|
}
|
|
@@ -433,11 +433,7 @@ exit_sd_error:
|
|
|
((j - 1) * I40E_HMC_MAX_BP_COUNT));
|
|
|
pd_lmt1 = min(pd_lmt, (j * I40E_HMC_MAX_BP_COUNT));
|
|
|
for (i = pd_idx1; i < pd_lmt1; i++) {
|
|
|
- i40e_remove_pd_bp(
|
|
|
- hw,
|
|
|
- info->hmc_info,
|
|
|
- i,
|
|
|
- true);
|
|
|
+ i40e_remove_pd_bp(hw, info->hmc_info, i);
|
|
|
}
|
|
|
i40e_remove_pd_page(hw, info->hmc_info, (j - 1));
|
|
|
break;
|
|
@@ -616,8 +612,7 @@ static i40e_status i40e_delete_lan_hmc_object(struct i40e_hw *hw,
|
|
|
pd_table =
|
|
|
&info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table;
|
|
|
if (pd_table->pd_entry[rel_pd_idx].valid) {
|
|
|
- ret_code = i40e_remove_pd_bp(hw, info->hmc_info,
|
|
|
- j, true);
|
|
|
+ ret_code = i40e_remove_pd_bp(hw, info->hmc_info, j);
|
|
|
if (ret_code)
|
|
|
goto exit;
|
|
|
}
|