Home
last modified time | relevance | path

Searched refs:sd_table (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/intel/i40e/
A Di40e_hmc.c33 if (NULL == hmc_info->sd_table.sd_entry) { in i40e_add_sd_table_entry()
39 if (sd_index >= hmc_info->sd_table.sd_cnt) { in i40e_add_sd_table_entry()
45 sd_entry = &hmc_info->sd_table.sd_entry[sd_index]; in i40e_add_sd_table_entry()
79 I40E_INC_SD_REFCNT(&hmc_info->sd_table); in i40e_add_sd_table_entry()
202 if (sd_idx >= hmc_info->sd_table.sd_cnt) { in i40e_remove_pd_bp()
251 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_prep_remove_sd_bp()
257 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_sd_bp()
282 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_remove_sd_bp_new()
299 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in i40e_prep_remove_pd_page()
309 I40E_DEC_SD_REFCNT(&hmc_info->sd_table); in i40e_prep_remove_pd_page()
[all …]
A Di40e_lan_hmc.c194 hw->hmc.sd_table.ref_cnt = 0; in i40e_init_lan_hmc()
197 if (NULL == hw->hmc.sd_table.sd_entry) { in i40e_init_lan_hmc()
198 hw->hmc.sd_table.sd_cnt = (u32) in i40e_init_lan_hmc()
205 hw->hmc.sd_table.sd_cnt)); in i40e_init_lan_hmc()
208 hw->hmc.sd_table.sd_entry = in i40e_init_lan_hmc()
325 if (sd_idx >= info->hmc_info->sd_table.sd_cnt || in i40e_create_lan_hmc_object()
326 sd_lmt > info->hmc_info->sd_table.sd_cnt) { in i40e_create_lan_hmc_object()
601 sd_lmt > info->hmc_info->sd_table.sd_cnt) { in i40e_delete_lan_hmc_object()
649 i40e_free_virt_mem(hw, &hw->hmc.sd_table.addr); in i40e_shutdown_lan_hmc()
650 hw->hmc.sd_table.sd_cnt = 0; in i40e_shutdown_lan_hmc()
[all …]
A Di40e_hmc.h80 struct i40e_hmc_sd_table sd_table; member
83 #define I40E_INC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt++) argument
87 #define I40E_DEC_SD_REFCNT(sd_table) ((sd_table)->ref_cnt--) argument
/linux/drivers/infiniband/hw/irdma/
A Dhmc.c161 sd_entry = &hmc_info->sd_table.sd_entry[i]; in irdma_hmc_sd_grp()
252 if (sd_idx >= info->hmc_info->sd_table.sd_cnt || in irdma_sc_create_hmc_obj()
253 sd_lmt > info->hmc_info->sd_table.sd_cnt) { in irdma_sc_create_hmc_obj()
433 if (sd_idx >= info->hmc_info->sd_table.sd_cnt || in irdma_sc_del_hmc_obj()
434 sd_lmt > info->hmc_info->sd_table.sd_cnt) { in irdma_sc_del_hmc_obj()
527 hmc_info->sd_table.use_cnt++; in irdma_add_sd_table_entry()
637 if (sd_idx >= hmc_info->sd_table.sd_cnt) in irdma_remove_pd_bp()
681 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in irdma_prep_remove_sd_bp()
685 hmc_info->sd_table.use_cnt--; in irdma_prep_remove_sd_bp()
701 sd_entry = &hmc_info->sd_table.sd_entry[idx]; in irdma_prep_remove_pd_page()
[all …]
A Dhmc.h102 struct irdma_hmc_sd_table sd_table; member
A Dpble.c242 sd_entry = &hmc_info->sd_table.sd_entry[idx->sd_idx]; in add_pble_prm()
A Dctrl.c2930 hmc_info->sd_table.sd_cnt = max_pe_sds + hmc_info->first_sd_index; in irdma_sc_parse_fpm_query_buf()
4395 &hmc_info->sd_table.sd_cnt); in irdma_sc_cfg_iw_fpm()
4826 hmc_info->sd_table.sd_cnt, hmc_fpm_misc->max_sds); in irdma_cfg_fpm_val()
4932 loop_count, sd_needed, hmc_info->sd_table.sd_cnt); in irdma_cfg_fpm_val()
4952 hmc_info->sd_table.sd_cnt, hmc_info->first_sd_index); in irdma_cfg_fpm_val()
4963 (hmc_info->sd_table.sd_cnt + hmc_info->first_sd_index + 1); in irdma_cfg_fpm_val()
4971 hmc_info->sd_table.sd_entry = virt_mem.va; in irdma_cfg_fpm_val()
A Dhw.c1546 kfree(dev->hmc_info->sd_table.sd_entry); in irdma_del_init_mem()
1547 dev->hmc_info->sd_table.sd_entry = NULL; in irdma_del_init_mem()

Completed in 32 milliseconds