| /dpdk/drivers/event/opdl/ |
| H A D | opdl_ring.c | 295 num_entries = num_to_process(s, num_entries, block); in opdl_ring_input_singlethread() 304 return num_entries; in opdl_ring_input_singlethread() 513 num_entries = s->nb_instance * num_entries; in opdl_stage_claim_singlethread() 515 num_entries = num_to_process(s, num_entries, block); in opdl_stage_claim_singlethread() 524 num_entries = num_to_process(s, num_entries, block); in opdl_stage_claim_singlethread() 573 num_entries = offset + (s->nb_instance * num_entries); in opdl_stage_claim_multithread() 594 num_entries = num_to_process(s, num_entries, block); in opdl_stage_claim_copy_singlethread() 653 num_entries = num_to_process(s, num_entries, block); in opdl_ring_copy_from_burst() 673 num_entries = num_to_process(s, num_entries, block); in opdl_ring_copy_to_burst() 701 return (avail <= num_entries) ? avail : num_entries; in opdl_stage_find_num_available() [all …]
|
| H A D | opdl_ring.h | 228 opdl_ring_input(struct opdl_ring *t, const void *entries, uint32_t num_entries, 255 const void *entries, uint32_t num_entries, bool block); 281 void *entries, uint32_t num_entries, bool block); 312 uint32_t num_entries, uint32_t *seq, bool block, bool atomic); 336 uint32_t num_entries, void *arg, bool block); 368 uint32_t num_entries, uint32_t *seq, bool block, 404 uint32_t num_entries, uint32_t *seq, bool block); 433 opdl_stage_disclaim(struct opdl_stage *s, uint32_t num_entries, 463 opdl_stage_disclaim_n(struct opdl_stage *s, uint32_t num_entries, 505 opdl_stage_find_num_available(struct opdl_stage *s, uint32_t num_entries);
|
| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_em_common.c | 42 uint32_t num_entries, in tf_create_tbl_pool_external() argument 51 parms.nitems = num_entries; in tf_create_tbl_pool_external() 267 uint32_t mask = num_entries - 1; in tf_em_get_key_mask() 375 uint32_t num_entries, in tf_em_size_page_tbl_lvl() argument 421 uint32_t num_entries; in tf_em_size_table() local 440 num_entries = tbl->num_entries / tbl->entry_size; in tf_em_size_table() 446 num_entries = cnt; in tf_em_size_table() 449 num_entries = tbl->num_entries; in tf_em_size_table() 454 tbl->num_entries, in tf_em_size_table() 522 while (num_entries > cnt && in tf_em_validate_num_entries() [all …]
|
| H A D | tf_shadow_tcam.c | 135 uint16_t num_entries; member 175 return ctxt->shadow_ctxt.num_entries; in tf_shadow_tcam_sh_num_entries_get() 251 uint16_t num_entries, in tf_shadow_tcam_ctxt_create() argument 260 if (num_entries > TF_SHADOW_TCAM_ENTRIES_MAX) { in tf_shadow_tcam_ctxt_create() 262 num_entries, in tf_shadow_tcam_ctxt_create() 267 while (hash_size < num_entries) in tf_shadow_tcam_ctxt_create() 285 cparms.nitems = num_entries; in tf_shadow_tcam_ctxt_create() 294 cparms.nitems = num_entries; in tf_shadow_tcam_ctxt_create() 302 ctxt->shadow_ctxt.num_entries = num_entries; in tf_shadow_tcam_ctxt_create()
|
| H A D | tf_shadow_identifier.c | 35 uint16_t num_entries; member 70 shadow_db->num_entries = parms->num_elements; in tf_shadow_ident_create_db() 115 for (i = 0; i < shadow_db->num_entries; i++) in tf_shadow_ident_free_db()
|
| H A D | tf_em_common.h | 92 uint32_t num_entries, 113 uint32_t tf_em_get_key_mask(int num_entries);
|
| H A D | stack.c | 18 stack_init(int num_entries, uint32_t *items, struct stack *st) in stack_init() argument 23 st->max = num_entries; in stack_init()
|
| H A D | tf_rm.c | 74 uint16_t num_entries; member 301 cparms.nitems = rm_db->num_entries; in tf_rm_check_residuals() 313 for (i = 0, found = 0; i < rm_db->num_entries; i++) { in tf_rm_check_residuals() 345 for (i = 0, f = 0; i < rm_db->num_entries; i++) { in tf_rm_check_residuals() 370 rm_db->num_entries, in tf_rm_check_residuals() 771 rm_db->num_entries = parms->num_elements; in tf_rm_create_db() 1011 rm_db->num_entries = parms->num_elements; in tf_rm_create_db_no_reservation() 1106 for (i = 0; i < rm_db->num_entries; i++) in tf_rm_free_db() 1476 parms->starting_index + parms->num_entries > base_index + stride) in tf_rm_check_indexes_in_range()
|
| H A D | tf_em_host.c | 299 if (tbl->num_entries != 0 && tbl->entry_size != 0) { in tf_em_ctx_unreg() 335 if (tbl->num_entries && tbl->entry_size) { in tf_em_ctx_reg() 466 em_tables[TF_KEY0_TABLE].num_entries, in tf_em_ext_alloc() 499 em_tables[TF_RECORD_TABLE].num_entries, in tf_em_ext_alloc()
|
| H A D | tf_msg.h | 492 uint32_t num_entries, 710 uint16_t num_entries,
|
| H A D | stack.h | 35 int stack_init(int num_entries,
|
| H A D | tf_tbl.c | 496 cparms.num_entries = parms->num_entries; in tf_tbl_bulk_get() 506 parms->num_entries, in tf_tbl_bulk_get() 529 parms->num_entries, in tf_tbl_bulk_get()
|
| H A D | tf_shadow_identifier.h | 37 int num_entries; member
|
| H A D | tf_shadow_tcam.h | 21 int num_entries; member
|
| H A D | tf_tbl.h | 156 uint16_t num_entries; member
|
| H A D | tf_msg.c | 1116 if (tbl->num_entries && tbl->entry_size) { in tf_msg_ext_em_ctxt_mem_alloc() 1118 mem_size_k = (tbl->num_entries / TF_KILOBYTE) * tbl->entry_size; in tf_msg_ext_em_ctxt_mem_alloc() 1360 uint32_t num_entries, in tf_msg_em_cfg() argument 1401 req.num_entries = tfp_cpu_to_le_32(num_entries); in tf_msg_em_cfg() 1468 req.num_entries = tfp_cpu_to_le_32(act_tbl->num_entries); in tf_msg_ext_em_cfg() 2098 uint16_t num_entries, in tf_msg_bulk_get_tbl_entry() argument 2153 req.num_entries = tfp_cpu_to_le_32(num_entries); in tf_msg_bulk_get_tbl_entry() 2155 data_size = num_entries * entry_sz_in_bytes; in tf_msg_bulk_get_tbl_entry()
|
| H A D | tf_rm.h | 372 uint16_t num_entries; member
|
| /dpdk/lib/cfgfile/ |
| H A D | rte_cfgfile.c | 18 int num_entries; member 107 if (section->num_entries == section->allocated_entries) { in _add_entry() 122 §ion->entries[section->num_entries]; in _add_entry() 126 section->num_entries++; in _add_entry() 303 cfg->sections[i].num_entries = 0; in rte_cfgfile_create() 361 cfg->sections[cfg->num_sections].num_entries = 0; in rte_cfgfile_add_section() 408 for (i = 0; i < curr_section->num_entries; i++) in rte_cfgfile_set_entry() 434 for (j = 0; j < cfg->sections[i].num_entries; j++) { in rte_cfgfile_save() 504 return s->num_entries; in rte_cfgfile_section_num_entries() 517 return sect->num_entries; in rte_cfgfile_section_num_entries_by_index() [all …]
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_fc_mgr.c | 261 parms.num_entries = dparms->flow_count_db_entries / 2; /* direction */ in ulp_bulk_get_flow_stats() 286 for (i = 0; i < parms.num_entries; i++) { in ulp_bulk_get_flow_stats() 446 uint32_t dev_id, hw_cntr_id = 0, num_entries = 0; in ulp_fc_mgr_alarm_cb() local 489 if (!ulp_fc_info->num_entries) { in ulp_fc_mgr_alarm_cb() 509 num_entries = dparms->flow_count_db_entries / 2; in ulp_fc_mgr_alarm_cb() 511 for (j = 0; j < num_entries; j++) { in ulp_fc_mgr_alarm_cb() 622 ulp_fc_info->num_entries++; in ulp_fc_mgr_cntr_set() 660 ulp_fc_info->num_entries--; in ulp_fc_mgr_cntr_reset()
|
| H A D | bnxt_ulp.h | 278 bnxt_ulp_app_glb_resource_info_list_get(uint32_t *num_entries); 290 bnxt_ulp_app_cap_list_get(uint32_t *num_entries); 297 bnxt_ulp_resource_resv_list_get(uint32_t *num_entries);
|
| H A D | bnxt_ulp.c | 86 bnxt_ulp_app_cap_list_get(uint32_t *num_entries) in bnxt_ulp_app_cap_list_get() argument 88 if (!num_entries) in bnxt_ulp_app_cap_list_get() 90 *num_entries = BNXT_ULP_APP_CAP_TBL_MAX_SZ; in bnxt_ulp_app_cap_list_get() 95 bnxt_ulp_app_resource_resv_list_get(uint32_t *num_entries) in bnxt_ulp_app_resource_resv_list_get() argument 97 if (num_entries == NULL) in bnxt_ulp_app_resource_resv_list_get() 99 *num_entries = BNXT_ULP_APP_RESOURCE_RESV_LIST_MAX_SZ; in bnxt_ulp_app_resource_resv_list_get() 104 bnxt_ulp_resource_resv_list_get(uint32_t *num_entries) in bnxt_ulp_resource_resv_list_get() argument 106 if (!num_entries) in bnxt_ulp_resource_resv_list_get() 108 *num_entries = BNXT_ULP_RESOURCE_RESV_LIST_MAX_SZ; in bnxt_ulp_resource_resv_list_get() 115 if (!num_entries) in bnxt_ulp_app_glb_resource_info_list_get() [all …]
|
| H A D | ulp_template_struct.h | 127 uint32_t num_entries; member 364 uint16_t num_entries; member
|
| H A D | ulp_fc_mgr.h | 51 uint32_t num_entries; member
|
| /dpdk/lib/member/ |
| H A D | rte_member_ht.c | 81 uint32_t num_entries = rte_align32pow2(params->num_keys); in rte_member_create_ht() local 83 if ((num_entries > RTE_MEMBER_ENTRIES_MAX) || in rte_member_create_ht() 85 num_entries < RTE_MEMBER_BUCKET_ENTRIES) { in rte_member_create_ht() 92 uint32_t num_buckets = num_entries / RTE_MEMBER_BUCKET_ENTRIES; in rte_member_create_ht() 126 num_entries, num_buckets); in rte_member_create_ht()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_acl_ctrl.c | 98 static u16 ice_acl_tbl_calc_end_idx(u16 start, u16 num_entries, u16 width) in ice_acl_tbl_calc_end_idx() argument 102 end_idx = start + (num_entries - 1); in ice_acl_tbl_calc_end_idx() 110 num_entries; in ice_acl_tbl_calc_end_idx() 742 ice_acl_create_scen(struct ice_hw *hw, u16 match_width, u16 num_entries, in ice_acl_create_scen() argument 760 scen->num_entry = num_entries; in ice_acl_create_scen()
|