Searched refs:tbl24 (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_lpm.c | 481 if (!lpm->tbl24[i].valid || (lpm->tbl24[i].valid_group == 0 && in add_depth_small() 482 lpm->tbl24[i].depth <= depth)) { in add_depth_small() 494 __atomic_store(&lpm->tbl24[i], &new_tbl24_entry, in add_depth_small() 500 if (lpm->tbl24[i].valid_group == 1) { in add_depth_small() 504 tbl8_index = lpm->tbl24[i].group_idx * in add_depth_small() 549 if (!lpm->tbl24[tbl24_index].valid) { in add_depth_big() 591 __atomic_store(&lpm->tbl24[tbl24_index], &new_tbl24_entry, in add_depth_big() 595 else if (lpm->tbl24[tbl24_index].valid_group == 0) { in add_depth_big() 612 .depth = lpm->tbl24[tbl24_index].depth, in add_depth_big() 614 .next_hop = lpm->tbl24[tbl24_index].next_hop, in add_depth_big() [all …]
|
H A D | rte_lpm6.c | 100 struct rte_lpm6_tbl_entry tbl24[RTE_LPM6_TBL24_NUM_ENTRIES] member 838 ret = simulate_add_step(lpm, lpm->tbl24, &tbl_next, masked_ip, in simulate_add() 896 tbl = lpm->tbl24; in rte_lpm6_add() 971 tbl = &lpm->tbl24[tbl24_index]; in rte_lpm6_lookup() 1007 tbl = &lpm->tbl24[tbl24_index]; in rte_lpm6_lookup_bulk_func() 1114 memset(lpm->tbl24, 0, sizeof(lpm->tbl24)); 1138 memset(lpm->tbl24, 0, sizeof(lpm->tbl24)); 1222 *from = &lpm->tbl24[ind]; in rule_find_range() 1224 *to = &lpm->tbl24[ind]; in rule_find_range() 1228 struct rte_lpm6_tbl_entry *tbl = &lpm->tbl24[first_3bytes]; in rule_find_range() [all …]
|
H A D | rte_lpm.h | 140 struct rte_lpm_tbl_entry tbl24[RTE_LPM_TBL24_NUM_ENTRIES] member 281 ptbl = (const uint32_t *)(&lpm->tbl24[tbl24_index]); in rte_lpm_lookup() 345 ptbl = (const uint32_t *)&lpm->tbl24[tbl24_indexes[i]]; in rte_lpm_lookup_bulk_func()
|