Lines Matching refs:depth

175 	uint8_t depth = 24;  in test3()  local
179 status = rte_lpm_add(NULL, ip, depth, next_hop); in test3()
213 uint8_t depth = 24; in test4() local
217 status = rte_lpm_delete(NULL, ip, depth); in test4()
286 uint8_t depth = 24; in test6() local
292 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test6()
298 status = rte_lpm_delete(lpm, ip, depth); in test6()
325 uint8_t depth = 32; in test7() local
331 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test7()
344 status = rte_lpm_delete(lpm, ip, depth); in test7()
377 uint8_t depth; in test8() local
384 for (depth = 1; depth <= 32; depth++) { in test8()
386 next_hop_add = depth; in test8()
388 status = rte_lpm_add(lpm, ip2, depth, next_hop_add); in test8()
408 for (depth = 32; depth >= 1; depth--) { in test8()
409 next_hop_add = (uint8_t) (depth - 1); in test8()
411 status = rte_lpm_delete(lpm, ip2, depth); in test8()
416 if (depth != 1) { in test8()
428 if (depth != 1) { in test8()
461 uint8_t depth, depth_1, depth_2; in test9() local
467 depth = 24; in test9()
473 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test9()
479 status = rte_lpm_delete(lpm, ip, depth); in test9()
489 depth = 23; in test9()
492 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test9()
498 depth = 24; in test9()
501 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test9()
507 depth = 24; in test9()
509 status = rte_lpm_delete(lpm, ip, depth); in test9()
512 depth = 23; in test9()
514 status = rte_lpm_delete(lpm, ip, depth); in test9()
525 depth = 32; in test9()
528 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test9()
535 depth = 32; in test9()
538 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test9()
544 status = rte_lpm_delete(lpm, ip, depth); in test9()
551 depth = 32; in test9()
557 status = rte_lpm_delete(lpm, ip, depth); in test9()
630 uint8_t depth; in test10() local
639 depth = 16; in test10()
642 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test10()
648 status = rte_lpm_delete(lpm, ip, depth); in test10()
657 depth = 25; in test10()
660 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test10()
666 status = rte_lpm_delete(lpm, ip, depth); in test10()
675 depth = 24; in test10()
678 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test10()
682 depth = 32; in test10()
685 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test10()
698 depth = 24; in test10()
700 status = rte_lpm_delete(lpm, ip, depth); in test10()
707 depth = 32; in test10()
709 status = rte_lpm_delete(lpm, ip, depth); in test10()
721 depth = 24; in test10()
724 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test10()
732 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test10()
738 status = rte_lpm_delete(lpm, ip, depth); in test10()
750 depth = 32; in test10()
753 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test10()
761 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test10()
767 status = rte_lpm_delete(lpm, ip, depth); in test10()
778 depth = 24; in test10()
780 status = rte_lpm_delete(lpm, ip, depth); in test10()
791 depth = 32; in test10()
793 status = rte_lpm_delete(lpm, ip, depth); in test10()
821 uint8_t depth; in test11() local
828 depth = 24; in test11()
831 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test11()
835 depth = 32; in test11()
838 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test11()
851 depth = 24; in test11()
853 status = rte_lpm_delete(lpm, ip, depth); in test11()
860 depth = 32; in test11()
862 status = rte_lpm_delete(lpm, ip, depth); in test11()
892 uint8_t depth; in test12() local
899 depth = 32; in test12()
903 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test12()
917 status = rte_lpm_delete(lpm, ip, depth); in test12()
947 uint8_t depth; in test13() local
954 depth = 24; in test13()
957 status = rte_lpm_add(lpm, ip, depth, next_hop_add_1); in test13()
963 depth = 32; in test13()
967 status = rte_lpm_add(lpm, ip, depth, next_hop_add_2); in test13()
974 status = rte_lpm_delete(lpm, ip, depth); in test13()
982 depth = 24; in test13()
984 status = rte_lpm_delete(lpm, ip, depth); in test13()
1014 uint8_t depth; in test14() local
1021 depth = 32; in test14()
1027 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test14()
1038 depth = 32; in test14()
1040 status = rte_lpm_add(lpm, ip, depth, next_hop_add); in test14()
1220 uint8_t depth; in test18() local
1231 depth = 28; in test18()
1233 rte_lpm_add(lpm, ip, depth, next_hop); in test18()
1238 depth = 23; in test18()
1240 rte_lpm_add(lpm, ip, depth, next_hop); in test18()
1243 depth = 28; in test18()
1244 rte_lpm_delete(lpm, ip, depth); in test18()
1249 rte_lpm_add(lpm, ip, depth, next_hop); in test18()
1254 depth = 24; in test18()
1256 rte_lpm_add(lpm, ip, depth, next_hop); in test18()
1259 depth = 28; in test18()
1260 rte_lpm_delete(lpm, ip, depth); in test18()
1265 rte_lpm_add(lpm, ip, depth, next_hop); in test18()
1360 uint8_t depth; in test20() local
1386 depth = 28; in test20()
1388 status = rte_lpm_add(lpm, ip, depth, next_hop); in test20()
1402 status = rte_lpm_delete(lpm, ip, depth); in test20()
1409 status = rte_lpm_add(lpm, ip, depth, next_hop); in test20()
1415 status = rte_lpm_add(lpm, ip, depth, next_hop); in test20()
1485 uint8_t depth; in test21() local
1521 depth = 28; in test21()
1523 status = rte_lpm_add(g_lpm, g_ip, depth, next_hop); in test21()
1531 status = rte_lpm_delete(g_lpm, g_ip, depth); in test21()
1538 status = rte_lpm_add(g_lpm, g_ip, depth, next_hop); in test21()