Searched refs:tbl8_index (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_lpm.c | 470 uint32_t tbl24_index, tbl24_range, tbl8_index, tbl8_group_end, i, j; in add_depth_small() local 504 tbl8_index = lpm->tbl24[i].group_idx * in add_depth_small() 506 tbl8_group_end = tbl8_index + in add_depth_small() 509 for (j = tbl8_index; j < tbl8_group_end; j++) { in add_depth_small() 543 int32_t tbl8_group_index, tbl8_group_start, tbl8_group_end, tbl8_index, in add_depth_big() local 559 tbl8_index = (tbl8_group_index * in add_depth_big() 564 for (i = tbl8_index; i < (tbl8_index + tbl8_range); i++) { in add_depth_big() 620 tbl8_index = tbl8_group_start + (ip_masked & 0xFF); in add_depth_big() 623 for (i = tbl8_index; i < tbl8_index + tbl8_range; i++) { in add_depth_big() 659 tbl8_index = tbl8_group_start + (ip_masked & 0xFF); in add_depth_big() [all …]
|
H A D | rte_lpm.h | 292 unsigned tbl8_index = (uint8_t)ip + in rte_lpm_lookup() local 296 ptbl = (const uint32_t *)&lpm->tbl8[tbl8_index]; in rte_lpm_lookup() 352 unsigned tbl8_index = (uint8_t)ips[i] + in rte_lpm_lookup_bulk_func() local 356 ptbl = (const uint32_t *)&lpm->tbl8[tbl8_index]; in rte_lpm_lookup_bulk_func()
|
H A D | rte_lpm6.c | 927 uint32_t tbl8_index, tbl_entry; in lookup_step() local 936 tbl8_index = ip[first_byte-1] + in lookup_step() 940 *tbl_next = &lpm->tbl8[tbl8_index]; in lookup_step()
|