Home
last modified time | relevance | path

Searched refs:aparms (Results 1 – 10 of 10) sorted by relevance

/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_tcam.c311 memset(&aparms, 0, sizeof(aparms)); in tf_tcam_alloc()
315 aparms.index = &index; in tf_tcam_alloc()
401 memset(&aparms, 0, sizeof(aparms)); in tf_tcam_free()
404 aparms.index = parms->idx; in tf_tcam_free()
568 memset(&aparms, 0, sizeof(aparms)); in tf_tcam_alloc_search()
569 aparms.dir = parms->dir; in tf_tcam_alloc_search()
585 bparms.idx = aparms.idx; in tf_tcam_alloc_search()
601 fparms.idx = aparms.idx; in tf_tcam_alloc_search()
608 parms->idx = aparms.idx; in tf_tcam_alloc_search()
667 memset(&aparms, 0, sizeof(aparms)); in tf_tcam_set()
[all …]
H A Dtf_tbl_sram.c234 aparms.dir = parms->dir; in tf_tbl_sram_alloc()
235 aparms.bank_id = iparms.bank_id; in tf_tbl_sram_alloc()
237 aparms.sram_offset = &idx; in tf_tbl_sram_alloc()
238 aparms.tbl_type = parms->type; in tf_tbl_sram_alloc()
334 aparms.sram_offset = parms->idx; in tf_tbl_sram_free()
336 aparms.bank_id = iparms.bank_id; in tf_tbl_sram_free()
337 aparms.dir = parms->dir; in tf_tbl_sram_free()
482 aparms.dir = parms->dir; in tf_tbl_sram_set()
584 aparms.dir = parms->dir; in tf_tbl_sram_get()
696 aparms.dir = parms->dir; in tf_tbl_sram_bulk_get()
[all …]
H A Dtf_identifier.c178 aparms.subtype = parms->type; in tf_ident_alloc()
179 aparms.index = &id; in tf_ident_alloc()
180 aparms.base_index = &base_id; in tf_ident_alloc()
181 rc = tf_rm_allocate(&aparms); in tf_ident_alloc()
236 aparms.subtype = parms->type; in tf_ident_free()
237 aparms.index = parms->id; in tf_ident_free()
238 aparms.base_index = &base_id; in tf_ident_free()
239 aparms.allocated = &allocated; in tf_ident_free()
323 aparms.subtype = parms->type; in tf_ident_search()
325 aparms.base_index = &base_id; in tf_ident_search()
[all …]
H A Dtf_tbl.c153 aparms.subtype = parms->type; in tf_tbl_alloc()
154 aparms.index = &idx; in tf_tbl_alloc()
155 rc = tf_rm_allocate(&aparms); in tf_tbl_alloc()
205 aparms.subtype = parms->type; in tf_tbl_free()
206 aparms.index = parms->idx; in tf_tbl_free()
207 aparms.allocated = &allocated; in tf_tbl_free()
316 aparms.subtype = parms->type; in tf_tbl_set()
319 aparms.allocated = &allocated; in tf_tbl_set()
320 aparms.index = parms->idx; in tf_tbl_set()
407 aparms.subtype = parms->type; in tf_tbl_get()
[all …]
H A Dtf_em_host.c371 struct tf_rm_allocate_parms aparms = { 0 }; in tf_em_ext_alloc() local
405 aparms.rm_db = ext_db->eem_db[TF_DIR_RX]; in tf_em_ext_alloc()
406 aparms.subtype = TF_EM_TBL_TYPE_TBL_SCOPE; in tf_em_ext_alloc()
407 aparms.index = (uint32_t *)&parms->tbl_scope_id; in tf_em_ext_alloc()
408 rc = tf_rm_allocate(&aparms); in tf_em_ext_alloc()
546 struct tf_rm_free_parms aparms = { 0 }; in tf_em_ext_free() local
571 aparms.rm_db = ext_db->eem_db[TF_DIR_RX]; in tf_em_ext_free()
572 aparms.subtype = TF_EM_TBL_TYPE_TBL_SCOPE; in tf_em_ext_free()
573 aparms.index = parms->tbl_scope_id; in tf_em_ext_free()
574 rc = tf_rm_free(&aparms); in tf_em_ext_free()
H A Dtf_core.c136 aparms.attach_cfg = parms; in tf_attach_session()
138 &aparms); in tf_attach_session()
463 aparms.dir = parms->dir; in tf_alloc_identifier()
464 aparms.type = parms->ident_type; in tf_alloc_identifier()
465 aparms.id = &id; in tf_alloc_identifier()
714 aparms.dir = parms->dir; in tf_alloc_tcam_entry()
727 parms->idx = aparms.idx; in tf_alloc_tcam_entry()
1031 struct tf_tbl_alloc_parms aparms; in tf_alloc_tbl_entry() local
1059 aparms.dir = parms->dir; in tf_alloc_tbl_entry()
1060 aparms.type = parms->type; in tf_alloc_tbl_entry()
[all …]
H A Dtf_em_common.c1139 struct tfp_calloc_parms aparms; in tf_em_ext_map_tbl_scope() local
1169 aparms.nitems = 2; in tf_em_ext_map_tbl_scope()
1170 aparms.size = sizeof(uint32_t); in tf_em_ext_map_tbl_scope()
1171 aparms.alignment = 0; in tf_em_ext_map_tbl_scope()
1173 if (tfp_calloc(&aparms) != 0) { in tf_em_ext_map_tbl_scope()
1178 data = aparms.mem_va; in tf_em_ext_map_tbl_scope()
1180 if (tfp_calloc(&aparms) != 0) { in tf_em_ext_map_tbl_scope()
1186 mask = aparms.mem_va; in tf_em_ext_map_tbl_scope()
H A Dtf_sram_mgr.c636 struct tf_rm_allocate_parms aparms = { 0 }; in tf_sram_mgr_alloc() local
661 aparms.index = &index; in tf_sram_mgr_alloc()
662 aparms.subtype = parms->tbl_type; in tf_sram_mgr_alloc()
663 aparms.rm_db = parms->rm_db; in tf_sram_mgr_alloc()
664 rc = tf_rm_allocate(&aparms); in tf_sram_mgr_alloc()
H A Dtf_rm.c294 struct tf_rm_get_alloc_info_parms aparms; in tf_rm_check_residuals() local
342 aparms.rm_db = rm_db; in tf_rm_check_residuals()
348 aparms.subtype = i; in tf_rm_check_residuals()
349 aparms.info = &info; in tf_rm_check_residuals()
350 rc = tf_rm_get_info(&aparms); in tf_rm_check_residuals()
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_mapper.c191 aparms.dir = glb_res->direction; in ulp_mapper_resource_index_tbl_alloc()
198 tf_dir_2_str(aparms.dir), aparms.type); in ulp_mapper_resource_index_tbl_alloc()
213 free_parms.dir = aparms.dir; in ulp_mapper_resource_index_tbl_alloc()
214 free_parms.type = aparms.type; in ulp_mapper_resource_index_tbl_alloc()
215 free_parms.idx = aparms.idx; in ulp_mapper_resource_index_tbl_alloc()
2114 aparms.dir = tbl->direction; in ulp_mapper_tcam_tbl_process()
2122 &aparms.priority); in ulp_mapper_tcam_tbl_process()
2133 idx = aparms.idx; in ulp_mapper_tcam_tbl_process()
2134 hit = aparms.hit; in ulp_mapper_tcam_tbl_process()
2581 aparms.type = tbl_type; in ulp_mapper_index_tbl_process()
[all …]