Home
last modified time | relevance | path

Searched refs:alloc_cnt (Results 1 – 12 of 12) sorted by relevance

/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_rm.c416 uint16_t *alloc_cnt, in tf_rm_update_parent_reservations() argument
440 if (alloc_cnt[parent] % p_slices) in tf_rm_update_parent_reservations()
443 if (alloc_cnt[parent]) { in tf_rm_update_parent_reservations()
450 alloc_cnt[parent], p_slices); in tf_rm_update_parent_reservations()
460 alloc_cnt[child]) { in tf_rm_update_parent_reservations()
476 alloc_cnt[child], in tf_rm_update_parent_reservations()
483 cnt = alloc_cnt[child] / c_slices; in tf_rm_update_parent_reservations()
485 if (alloc_cnt[child] % c_slices) in tf_rm_update_parent_reservations()
571 tfp_memcpy(req_cnt, parms->alloc_cnt, in tf_rm_create_db()
579 parms->alloc_cnt, in tf_rm_create_db()
[all …]
H A Dtf_shadow_identifier.c77 if (parms->cfg->alloc_cnt[i] == 0) in tf_shadow_ident_create_db()
81 cparms.nitems = parms->cfg->alloc_cnt[i]; in tf_shadow_ident_create_db()
H A Dtf_em_internal.c221 db_cfg.alloc_cnt = parms->resources->em_cnt[i].cnt; in tf_em_int_bind()
226 if (db_cfg.alloc_cnt[TF_EM_TBL_TYPE_EM_RECORD] == 0) in tf_em_int_bind()
229 if (db_cfg.alloc_cnt[TF_EM_TBL_TYPE_EM_RECORD] % in tf_em_int_bind()
H A Dtf_shadow_identifier.h45 uint16_t *alloc_cnt; member
H A Dtf_shadow_tcam.h28 uint16_t *alloc_cnt; member
H A Dtf_rm.h168 uint16_t *alloc_cnt; member
H A Dtf_identifier.c71 db_cfg.alloc_cnt = parms->resources->ident_cnt[i].cnt; in tf_ident_bind()
79 shadow_cfg.alloc_cnt = in tf_ident_bind()
H A Dtf_shadow_tcam.c799 if (!parms->cfg->alloc_cnt[i]) { in tf_shadow_tcam_create_db()
814 parms->cfg->alloc_cnt[i], in tf_shadow_tcam_create_db()
H A Dtf_tcam.c107 db_cfg.alloc_cnt = parms->resources->tcam_cnt[d].cnt; in tf_tcam_bind()
168 shadow_cfg.alloc_cnt = in tf_tcam_bind()
H A Dtf_em_common.c945 db_cfg.alloc_cnt = parms->resources->em_cnt[i].cnt; in tf_em_ext_common_bind()
950 if (db_cfg.alloc_cnt[TF_EM_TBL_TYPE_TBL_SCOPE] == 0) in tf_em_ext_common_bind()
H A Dtf_tbl.c65 db_cfg.alloc_cnt = parms->resources->tbl_cnt[d].cnt; in tf_tbl_bind()
/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_hwdev.c119 int rc, alloc_cnt; in hinic_dma_mem_zalloc() local
128 alloc_cnt = rte_atomic32_add_return(&hwdev->os_dep.dma_alloc_cnt, 1); in hinic_dma_mem_zalloc()
130 hwdev->pcidev_hdl->name, alloc_cnt); in hinic_dma_mem_zalloc()