Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm.c470 uint32_t tbl24_index, tbl24_range, tbl8_index, tbl8_group_end, i, j; in add_depth_small() local
473 tbl24_index = ip >> 8; in add_depth_small()
476 for (i = tbl24_index; i < (tbl24_index + tbl24_range); i++) { in add_depth_small()
542 uint32_t tbl24_index; in add_depth_big() local
546 tbl24_index = (ip_masked >> 8); in add_depth_big()
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 Drte_lpm.h273 unsigned tbl24_index = (ip >> 8); in rte_lpm_lookup() local
281 ptbl = (const uint32_t *)(&lpm->tbl24[tbl24_index]); in rte_lpm_lookup()
H A Drte_lpm6.c961 uint32_t tbl24_index; in rte_lpm6_lookup() local
968 tbl24_index = (ip[0] << BYTES2_SIZE) | (ip[1] << BYTE_SIZE) | ip[2]; in rte_lpm6_lookup()
971 tbl = &lpm->tbl24[tbl24_index]; in rte_lpm6_lookup()
993 uint32_t tbl24_index, next_hop; in rte_lpm6_lookup_bulk_func() local
1003 tbl24_index = (ips[i][0] << BYTES2_SIZE) | in rte_lpm6_lookup_bulk_func()
1007 tbl = &lpm->tbl24[tbl24_index]; in rte_lpm6_lookup_bulk_func()