Searched refs:hmc_info (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_hmc.c | 51 struct i40e_hmc_info *hmc_info, in i40e_add_sd_table_entry() argument 63 if (NULL == hmc_info->sd_table.sd_entry) { in i40e_add_sd_table_entry() 69 if (sd_index >= hmc_info->sd_table.sd_cnt) { in i40e_add_sd_table_entry() 75 sd_entry = &hmc_info->sd_table.sd_entry[sd_index]; in i40e_add_sd_table_entry() 110 hmc_info->sd_table.sd_entry[sd_index].entry_type = type; in i40e_add_sd_table_entry() 113 I40E_INC_SD_REFCNT(&hmc_info->sd_table); in i40e_add_sd_table_entry() 144 struct i40e_hmc_info *hmc_info, in i40e_add_pd_table_entry() argument 157 if (pd_index / I40E_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) { in i40e_add_pd_table_entry() 166 hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_add_pd_table_entry() 170 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry() [all …]
|
H A D | i40e_hmc.h | 187 #define I40E_FIND_SD_INDEX_LIMIT(hmc_info, type, index, cnt, sd_idx, sd_limit)\ argument 190 fpm_addr = (hmc_info)->hmc_obj[(type)].base + \ 191 (hmc_info)->hmc_obj[(type)].size * (index); \ 192 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\ 211 #define I40E_FIND_PD_INDEX_LIMIT(hmc_info, type, idx, cnt, pd_index, pd_limit)\ argument 214 fpm_adr = (hmc_info)->hmc_obj[(type)].base + \ 215 (hmc_info)->hmc_obj[(type)].size * (idx); \ 216 fpm_limit = fpm_adr + (hmc_info)->hmc_obj[(type)].size * (cnt); \ 223 struct i40e_hmc_info *hmc_info, 229 struct i40e_hmc_info *hmc_info, [all …]
|
H A D | i40e_lan_hmc.c | 263 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_page() argument 268 if (i40e_prep_remove_pd_page(hmc_info, idx) == I40E_SUCCESS) in i40e_remove_pd_page() 269 ret_code = i40e_remove_pd_page_new(hw, hmc_info, idx, TRUE); in i40e_remove_pd_page() 290 struct i40e_hmc_info *hmc_info, in i40e_remove_sd_bp() argument 295 if (i40e_prep_remove_sd_bp(hmc_info, idx) == I40E_SUCCESS) in i40e_remove_sd_bp() 296 ret_code = i40e_remove_sd_bp_new(hw, hmc_info, idx, TRUE); in i40e_remove_sd_bp() 326 if (NULL == info->hmc_info) { in i40e_create_lan_hmc_object() 331 if (I40E_HMC_INFO_SIGNATURE != info->hmc_info->signature) { in i40e_create_lan_hmc_object() 337 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object() 344 info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object() [all …]
|
H A D | i40e_lan_hmc.h | 156 struct i40e_hmc_info *hmc_info; member 165 struct i40e_hmc_info *hmc_info; member
|