Home
last modified time | relevance | path

Searched refs:tbl8 (Results 1 – 3 of 3) sorted by relevance

/src/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm.c215 lpm->tbl8 = rte_zmalloc_socket(NULL, in rte_lpm_create()
218 if (lpm->tbl8 == NULL) { in rte_lpm_create()
272 rte_free(lpm->tbl8); in rte_lpm_free()
422 tbl8_alloc(struct rte_lpm_tbl_entry *tbl8, uint32_t number_tbl8s) in tbl8_alloc() argument
429 tbl8_entry = &tbl8[group_idx * RTE_LPM_TBL8_GROUP_NUM_ENTRIES]; in tbl8_alloc()
456 tbl8_free(struct rte_lpm_tbl_entry *tbl8, uint32_t tbl8_group_start) in tbl8_free() argument
461 __atomic_store(&tbl8[tbl8_group_start], &zero_tbl8_entry, in tbl8_free()
510 if (!lpm->tbl8[j].valid || in add_depth_small()
511 lpm->tbl8[j].depth <= depth) { in add_depth_small()
524 __atomic_store(&lpm->tbl8[j], in add_depth_small()
[all …]
H A Drte_lpm6.c108 struct rte_lpm6_tbl_entry tbl8[0] member
315 mem_size = sizeof(*lpm) + (sizeof(lpm->tbl8[0]) * in rte_lpm6_create()
549 if (!lpm->tbl8[j].valid || (lpm->tbl8[j].ext_entry == 0 in expand_rule()
550 && lpm->tbl8[j].depth <= old_depth)) { in expand_rule()
552 lpm->tbl8[j] = new_tbl8_entry; in expand_rule()
554 } else if (lpm->tbl8[j].ext_entry == 1) { in expand_rule()
556 tbl8_gindex_next = lpm->tbl8[j].lpm6_tbl8_gindex in expand_rule()
647 *next_tbl = &(lpm->tbl8[next_tbl_ind * in simulate_add_step()
734 memset(&lpm->tbl8[tbl8_group_start], 0, in add_step()
783 lpm->tbl8[i] = tbl_entry; in add_step()
[all …]
H A Drte_lpm.h142 struct rte_lpm_tbl_entry *tbl8; /**< LPM tbl8 table. */ member
296 ptbl = (const uint32_t *)&lpm->tbl8[tbl8_index]; in rte_lpm_lookup()
356 ptbl = (const uint32_t *)&lpm->tbl8[tbl8_index]; in rte_lpm_lookup_bulk_func()