Searched refs:sd_table (Results 1 – 3 of 3) sorted by relevance
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()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()239 if (sd_idx >= hmc_info->sd_table.sd_cnt) { in i40e_remove_pd_bp()244 sd_entry = &hmc_info->sd_table.sd_entry[sd_idx]; in i40e_remove_pd_bp()[all …]
224 hw->hmc.sd_table.ref_cnt = 0; in i40e_init_lan_hmc()227 if (NULL == hw->hmc.sd_table.sd_entry) { in i40e_init_lan_hmc()228 hw->hmc.sd_table.sd_cnt = (u32) in i40e_init_lan_hmc()233 ret_code = i40e_allocate_virt_mem(hw, &hw->hmc.sd_table.addr, in i40e_init_lan_hmc()235 hw->hmc.sd_table.sd_cnt)); in i40e_init_lan_hmc()238 hw->hmc.sd_table.sd_entry = in i40e_init_lan_hmc()239 (struct i40e_hmc_sd_entry *)hw->hmc.sd_table.addr.va; in i40e_init_lan_hmc()355 if (sd_idx >= info->hmc_info->sd_table.sd_cnt || in i40e_create_lan_hmc_object()356 sd_lmt > info->hmc_info->sd_table.sd_cnt) { in i40e_create_lan_hmc_object()384 sd_entry = &info->hmc_info->sd_table.sd_entry[j]; in i40e_create_lan_hmc_object()[all …]
112 struct i40e_hmc_sd_table sd_table; member115 #define I40E_INC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt++) argument119 #define I40E_DEC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt--) argument