Home
last modified time | relevance | path

Searched refs:hmc_info (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_hmc.c18 struct i40e_hmc_info *hmc_info, in i40e_add_sd_table_entry() argument
29 if (NULL == hmc_info->sd_table.sd_entry) { in i40e_add_sd_table_entry()
35 if (sd_index >= hmc_info->sd_table.sd_cnt) { in i40e_add_sd_table_entry()
41 sd_entry = &hmc_info->sd_table.sd_entry[sd_index]; in i40e_add_sd_table_entry()
69 hmc_info->sd_table.sd_entry[sd_index].entry_type = type; in i40e_add_sd_table_entry()
72 I40E_INC_SD_REFCNT(&hmc_info->sd_table); in i40e_add_sd_table_entry()
103 struct i40e_hmc_info *hmc_info, in i40e_add_pd_table_entry() argument
116 if (pd_index / I40E_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) { in i40e_add_pd_table_entry()
125 hmc_info->sd_table.sd_entry[sd_idx].entry_type) in i40e_add_pd_table_entry()
129 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in i40e_add_pd_table_entry()
[all …]
H A Di40e_lan_hmc.c230 struct i40e_hmc_info *hmc_info, in i40e_remove_pd_page() argument
235 if (!i40e_prep_remove_pd_page(hmc_info, idx)) in i40e_remove_pd_page()
236 ret_code = i40e_remove_pd_page_new(hw, hmc_info, idx, true); in i40e_remove_pd_page()
257 struct i40e_hmc_info *hmc_info, in i40e_remove_sd_bp() argument
262 if (!i40e_prep_remove_sd_bp(hmc_info, idx)) in i40e_remove_sd_bp()
263 ret_code = i40e_remove_sd_bp_new(hw, hmc_info, idx, true); in i40e_remove_sd_bp()
293 if (NULL == info->hmc_info) { in i40e_create_lan_hmc_object()
298 if (I40E_HMC_INFO_SIGNATURE != info->hmc_info->signature) { in i40e_create_lan_hmc_object()
304 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object()
311 info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object()
[all …]
H A Di40e_lan_hmc.h127 struct i40e_hmc_info *hmc_info; member
136 struct i40e_hmc_info *hmc_info; member
/linux/drivers/infiniband/hw/irdma/
H A Dpble.c39 struct irdma_hmc_info *hmc_info; in irdma_hmc_init_pble() local
43 hmc_info = dev->hmc_info; in irdma_hmc_init_pble()
45 pble_rsrc->fpm_base_addr = hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].base; in irdma_hmc_init_pble()
50 hmc_info->hmc_obj[IRDMA_HMC_IW_PBLE].cnt - fpm_idx; in irdma_hmc_init_pble()
91 struct irdma_hmc_info *hmc_info = info->hmc_info; in add_sd_direct() local
96 ret_code = irdma_add_sd_table_entry(dev->hw, hmc_info, in add_sd_direct()
144 struct irdma_hmc_info *hmc_info = info->hmc_info; in add_bp_pages() local
154 status = irdma_add_sd_table_entry(dev->hw, hmc_info, info->idx.sd_idx, in add_bp_pages()
167 status = irdma_add_pd_table_entry(dev, hmc_info, in add_bp_pages()
216 struct irdma_hmc_info *hmc_info; in add_pble_prm() local
[all …]
H A Dpble.h64 struct irdma_hmc_info *hmc_info; member