| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_rm.c | 303 cparms.alignment = 0; in tf_rm_check_residuals() 304 rc = tfp_calloc(&cparms); in tf_rm_check_residuals() 333 cparms.nitems = found; in tf_rm_check_residuals() 335 cparms.alignment = 0; in tf_rm_check_residuals() 336 rc = tfp_calloc(&cparms); in tf_rm_check_residuals() 541 cparms.alignment = 0; in tf_rm_create_db() 542 rc = tfp_calloc(&cparms); in tf_rm_create_db() 565 rc = tfp_calloc(&cparms); in tf_rm_create_db() 674 cparms.nitems = 1; in tf_rm_create_db() 834 cparms.alignment = 0; in tf_rm_create_db_no_reservation() [all …]
|
| H A D | tf_shadow_identifier.c | 48 struct tfp_calloc_parms cparms; in tf_shadow_ident_create_db() local 55 cparms.nitems = 1; in tf_shadow_ident_create_db() 57 cparms.alignment = 0; in tf_shadow_ident_create_db() 58 rc = tfp_calloc(&cparms); in tf_shadow_ident_create_db() 61 shadow_db = (void *)cparms.mem_va; in tf_shadow_ident_create_db() 64 cparms.nitems = parms->num_elements; in tf_shadow_ident_create_db() 66 rc = tfp_calloc(&cparms); in tf_shadow_ident_create_db() 81 cparms.nitems = parms->cfg->alloc_cnt[i]; in tf_shadow_ident_create_db() 82 cparms.size = sizeof(uint32_t); in tf_shadow_ident_create_db() 83 rc = tfp_calloc(&cparms); in tf_shadow_ident_create_db() [all …]
|
| H A D | tf_shadow_tcam.c | 273 cparms.nitems = hash_size; in tf_shadow_tcam_ctxt_create() 275 cparms.alignment = 0; in tf_shadow_tcam_ctxt_create() 276 rc = tfp_calloc(&cparms); in tf_shadow_tcam_ctxt_create() 287 cparms.alignment = 0; in tf_shadow_tcam_ctxt_create() 288 rc = tfp_calloc(&cparms); in tf_shadow_tcam_ctxt_create() 296 cparms.alignment = 0; in tf_shadow_tcam_ctxt_create() 297 rc = tfp_calloc(&cparms); in tf_shadow_tcam_ctxt_create() 787 cparms.nitems = 1; in tf_shadow_tcam_create_db() 789 cparms.alignment = 0; in tf_shadow_tcam_create_db() 804 cparms.nitems = 1; in tf_shadow_tcam_create_db() [all …]
|
| H A D | tf_em_internal.c | 190 struct tfp_calloc_parms cparms; in tf_em_int_bind() local 201 cparms.nitems = 1; in tf_em_int_bind() 202 cparms.size = sizeof(struct em_rm_db); in tf_em_int_bind() 203 cparms.alignment = 0; in tf_em_int_bind() 204 if (tfp_calloc(&cparms) != 0) { in tf_em_int_bind() 210 em_db = cparms.mem_va; in tf_em_int_bind() 273 cparms.nitems = 1; in tf_em_int_bind() 274 cparms.size = sizeof(struct dpool); in tf_em_int_bind() 275 cparms.alignment = 0; in tf_em_int_bind() 277 rc = tfp_calloc(&cparms); in tf_em_int_bind() [all …]
|
| H A D | tf_session.c | 93 cparms.nitems = 1; in tf_session_create() 95 cparms.alignment = 0; in tf_session_create() 96 rc = tfp_calloc(&cparms); in tf_session_create() 107 cparms.nitems = 1; in tf_session_create() 109 cparms.alignment = 0; in tf_session_create() 110 rc = tfp_calloc(&cparms); in tf_session_create() 152 cparms.nitems = 1; in tf_session_create() 154 cparms.alignment = 0; in tf_session_create() 163 client = cparms.mem_va; in tf_session_create() 301 cparms.nitems = 1; in tf_session_client_create() [all …]
|
| H A D | tf_if_tbl.c | 64 struct tfp_calloc_parms cparms; in tf_if_tbl_bind() local 69 cparms.nitems = 1; in tf_if_tbl_bind() 70 cparms.size = sizeof(struct tf_if_tbl_db); in tf_if_tbl_bind() 71 cparms.alignment = 0; in tf_if_tbl_bind() 72 if (tfp_calloc(&cparms) != 0) { in tf_if_tbl_bind() 78 if_tbl_db = cparms.mem_va; in tf_if_tbl_bind()
|
| H A D | tf_global_cfg.c | 76 struct tfp_calloc_parms cparms; in tf_global_cfg_bind() local 81 cparms.nitems = 1; in tf_global_cfg_bind() 82 cparms.size = sizeof(struct tf_global_cfg_db); in tf_global_cfg_bind() 83 cparms.alignment = 0; in tf_global_cfg_bind() 84 if (tfp_calloc(&cparms) != 0) { in tf_global_cfg_bind() 90 global_cfg_db = cparms.mem_va; in tf_global_cfg_bind()
|
| H A D | tf_tbl.c | 33 struct tfp_calloc_parms cparms; in tf_tbl_bind() local 44 cparms.nitems = 1; in tf_tbl_bind() 45 cparms.size = sizeof(struct tbl_rm_db); in tf_tbl_bind() 46 cparms.alignment = 0; in tf_tbl_bind() 47 if (tfp_calloc(&cparms) != 0) { in tf_tbl_bind() 53 tbl_db = cparms.mem_va; in tf_tbl_bind() 494 cparms.rm_db = tbl_db->tbl_db[parms->dir]; in tf_tbl_bulk_get() 495 cparms.subtype = parms->type; in tf_tbl_bulk_get() 496 cparms.num_entries = parms->num_entries; in tf_tbl_bulk_get() 497 cparms.starting_index = parms->starting_idx; in tf_tbl_bulk_get() [all …]
|
| H A D | tf_sram_mgr.c | 470 struct tfp_calloc_parms cparms; in tf_sram_alloc_block() local 473 cparms.nitems = 1; in tf_sram_alloc_block() 474 cparms.size = sizeof(struct tf_sram_block); in tf_sram_alloc_block() 475 cparms.alignment = 0; in tf_sram_alloc_block() 476 rc = tfp_calloc(&cparms); in tf_sram_alloc_block() 559 struct tfp_calloc_parms cparms; in tf_sram_mgr_bind() local 563 cparms.nitems = 1; in tf_sram_mgr_bind() 564 cparms.size = sizeof(struct tf_sram); in tf_sram_mgr_bind() 565 cparms.alignment = 0; in tf_sram_mgr_bind() 566 rc = tfp_calloc(&cparms); in tf_sram_mgr_bind() [all …]
|
| H A D | tf_identifier.c | 39 struct tfp_calloc_parms cparms; in tf_ident_bind() local 50 cparms.nitems = 1; in tf_ident_bind() 51 cparms.size = sizeof(struct ident_rm_db); in tf_ident_bind() 52 cparms.alignment = 0; in tf_ident_bind() 53 if (tfp_calloc(&cparms) != 0) { in tf_ident_bind() 59 ident_db = cparms.mem_va; in tf_ident_bind()
|
| H A D | tf_tcam_shared.c | 64 struct tfp_calloc_parms cparms; in tf_tcam_shared_create_db() local 67 cparms.nitems = 1; in tf_tcam_shared_create_db() 68 cparms.alignment = 0; in tf_tcam_shared_create_db() 69 cparms.size = sizeof(struct tf_tcam_shared_wc_pools); in tf_tcam_shared_create_db() 70 rc = tfp_calloc(&cparms); in tf_tcam_shared_create_db() 77 *db = cparms.mem_va; in tf_tcam_shared_create_db() 93 struct tfp_calloc_parms cparms; in tf_tcam_shared_create_wc_pool() local 98 cparms.nitems = pool_size; in tf_tcam_shared_create_wc_pool() 99 cparms.alignment = 0; in tf_tcam_shared_create_wc_pool() 100 cparms.size = sizeof(struct bitalloc); in tf_tcam_shared_create_wc_pool() [all …]
|
| H A D | tf_em_host.c | 373 struct tfp_calloc_parms cparms; in tf_em_ext_alloc() local 416 cparms.nitems = 1; in tf_em_ext_alloc() 417 cparms.size = sizeof(struct tf_tbl_scope_cb); in tf_em_ext_alloc() 418 cparms.alignment = 0; in tf_em_ext_alloc() 419 rc = tfp_calloc(&cparms); in tf_em_ext_alloc() 428 tbl_scope_cb = cparms.mem_va; in tf_em_ext_alloc()
|
| H A D | tf_core.c | 161 struct tf_session_close_session_parms cparms = { 0 }; in tf_close_session() local 167 cparms.ref_count = &ref_count; in tf_close_session() 168 cparms.session_id = &session_id; in tf_close_session() 173 &cparms); in tf_close_session() 180 cparms.session_id->internal.domain, in tf_close_session() 181 cparms.session_id->internal.bus, in tf_close_session() 182 cparms.session_id->internal.device); in tf_close_session() 1841 struct tfp_calloc_parms cparms; in tf_query_sram_resources() local 1878 cparms.nitems = max_types; in tf_query_sram_resources() 1880 cparms.alignment = 0; in tf_query_sram_resources() [all …]
|
| H A D | tf_tcam.c | 50 struct tfp_calloc_parms cparms; in tf_tcam_bind() local 87 cparms.nitems = 1; in tf_tcam_bind() 88 cparms.size = sizeof(struct tcam_rm_db); in tf_tcam_bind() 89 cparms.alignment = 0; in tf_tcam_bind() 90 if (tfp_calloc(&cparms) != 0) { in tf_tcam_bind() 96 tcam_db = cparms.mem_va; in tf_tcam_bind()
|
| H A D | tf_em_common.c | 920 struct tfp_calloc_parms cparms; in tf_em_ext_common_bind() local 924 cparms.nitems = 1; in tf_em_ext_common_bind() 925 cparms.size = sizeof(struct em_ext_db); in tf_em_ext_common_bind() 926 cparms.alignment = 0; in tf_em_ext_common_bind() 927 if (tfp_calloc(&cparms) != 0) { in tf_em_ext_common_bind() 933 ext_db = cparms.mem_va; in tf_em_ext_common_bind()
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_ha_mgr.c | 157 struct tf_clear_tcam_shared_entries_parms cparms = { 0 }; in ulp_ha_mgr_timer_cb() local 228 cparms.dir = TF_DIR_RX; in ulp_ha_mgr_timer_cb() 229 cparms.tcam_tbl_type = in ulp_ha_mgr_timer_cb() 231 rc = tf_clear_tcam_shared_entries(tfp, &cparms); in ulp_ha_mgr_timer_cb() 276 cparms.dir = TF_DIR_RX; in ulp_ha_mgr_timer_cb() 277 cparms.tcam_tbl_type = TF_TCAM_TBL_TYPE_WC_TCAM_LOW; in ulp_ha_mgr_timer_cb() 278 rc = tf_clear_tcam_shared_entries(tfp, &cparms); in ulp_ha_mgr_timer_cb()
|
| H A D | ulp_mapper.c | 3955 if (!ulp_ctx || !cparms) in ulp_mapper_flow_create() 3960 parms.act_prop = cparms->act_prop; in ulp_mapper_flow_create() 3961 parms.act_bitmap = cparms->act; in ulp_mapper_flow_create() 3965 parms.hdr_field = cparms->hdr_field; in ulp_mapper_flow_create() 3966 parms.enc_field = cparms->enc_field; in ulp_mapper_flow_create() 3968 parms.comp_fld = cparms->comp_fld; in ulp_mapper_flow_create() 3970 parms.act_tid = cparms->act_tid; in ulp_mapper_flow_create() 3975 parms.fid = cparms->flow_id; in ulp_mapper_flow_create() 3976 parms.tun_idx = cparms->tun_idx; in ulp_mapper_flow_create() 3980 parms.app_id = cparms->app_id; in ulp_mapper_flow_create() [all …]
|