Lines Matching refs:depth

253 	uint8_t depth = 24, next_hop = 100;  in test4()  local
261 status = rte_lpm6_add(NULL, ip, depth, next_hop); in test4()
291 uint8_t depth = 24; in test5() local
299 status = rte_lpm6_delete(NULL, ip, depth); in test5()
405 uint8_t depth[10]; in test8() local
413 status = rte_lpm6_delete_bulk_func(NULL, ip, depth, 10); in test8()
421 status = rte_lpm6_delete_bulk_func(lpm, NULL, depth, 10); in test8()
444 uint8_t depth = 16; in test9() local
456 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test9()
465 status = rte_lpm6_delete(lpm, ip, depth); in test9()
489 uint8_t depth; in test10() local
502 depth = (uint8_t)i; in test10()
503 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test10()
507 depth = 128; in test10()
508 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test10()
511 depth = 127; in test10()
512 status = rte_lpm6_delete(lpm, ip, depth); in test10()
515 depth = 128; in test10()
516 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test10()
534 uint8_t depth; in test11() local
545 depth = 128; in test11()
546 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test11()
550 depth = 25; in test11()
551 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test11()
554 status = rte_lpm6_delete(lpm, ip, depth); in test11()
557 depth = 33; in test11()
558 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test11()
561 status = rte_lpm6_delete(lpm, ip, depth); in test11()
564 depth = 41; in test11()
565 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test11()
568 status = rte_lpm6_delete(lpm, ip, depth); in test11()
571 depth = 49; in test11()
572 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test11()
575 depth = 41; in test11()
576 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test11()
595 uint8_t depth; in test12() local
606 depth = 128; in test12()
607 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test12()
611 depth = 41; in test12()
612 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test12()
615 depth = 49; in test12()
616 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test12()
634 uint8_t depth; in test13() local
645 depth = 1; in test13()
646 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test13()
649 depth = 2; in test13()
650 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test13()
653 depth = 3; in test13()
654 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test13()
657 depth = 2; in test13()
658 status = rte_lpm6_delete(lpm, ip, depth); in test13()
661 depth = 3; in test13()
662 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test13()
682 uint8_t depth = 25; in test14() local
696 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test14()
702 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test14()
707 status = rte_lpm6_delete(lpm, ip, depth); in test14()
712 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test14()
729 uint8_t depth = 24; in test15() local
740 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test15()
746 status = rte_lpm6_delete(lpm, ip, depth); in test15()
766 uint8_t depth = 128; in test16() local
777 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test16()
783 status = rte_lpm6_delete(lpm, ip, depth); in test16()
811 uint8_t depth; in test17() local
823 for (depth = 1; depth <= 16; depth++) { in test17()
825 next_hop_add = depth; in test17()
827 status = rte_lpm6_add(lpm, ip2, depth, next_hop_add); in test17()
840 for (depth = 16; depth >= 1; depth--) { in test17()
841 next_hop_add = (depth - 1); in test17()
843 status = rte_lpm6_delete(lpm, ip2, depth); in test17()
848 if (depth != 1) { in test17()
877 uint8_t depth, depth_1, depth_2; in test18() local
888 depth = 24; in test18()
894 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test18()
900 status = rte_lpm6_delete(lpm, ip, depth); in test18()
910 depth = 23; in test18()
913 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test18()
919 depth = 24; in test18()
922 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test18()
928 depth = 24; in test18()
930 status = rte_lpm6_delete(lpm, ip, depth); in test18()
933 depth = 23; in test18()
935 status = rte_lpm6_delete(lpm, ip, depth); in test18()
947 depth = 32; in test18()
950 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test18()
957 depth = 32; in test18()
960 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test18()
967 depth = 32; in test18()
973 status = rte_lpm6_delete(lpm, ip, depth); in test18()
1040 uint8_t depth; in test19() local
1055 depth = 16; in test19()
1058 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test19()
1064 status = rte_lpm6_delete(lpm, ip, depth); in test19()
1073 depth = 25; in test19()
1076 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test19()
1082 status = rte_lpm6_delete(lpm, ip, depth); in test19()
1093 depth = 24; in test19()
1096 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test19()
1100 depth = 32; in test19()
1103 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test19()
1116 depth = 24; in test19()
1118 status = rte_lpm6_delete(lpm, ip, depth); in test19()
1125 depth = 32; in test19()
1127 status = rte_lpm6_delete(lpm, ip, depth); in test19()
1141 depth = 24; in test19()
1144 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test19()
1152 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test19()
1158 status = rte_lpm6_delete(lpm, ip, depth); in test19()
1172 depth = 32; in test19()
1175 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test19()
1183 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test19()
1189 status = rte_lpm6_delete(lpm, ip, depth); in test19()
1200 depth = 24; in test19()
1203 status = rte_lpm6_delete(lpm, ip, depth); in test19()
1214 depth = 32; in test19()
1217 status = rte_lpm6_delete(lpm, ip, depth); in test19()
1239 uint8_t depth; in test20() local
1251 depth = 24; in test20()
1254 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test20()
1258 depth = 128; in test20()
1261 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test20()
1274 depth = 24; in test20()
1276 status = rte_lpm6_delete(lpm, ip, depth); in test20()
1283 depth = 128; in test20()
1285 status = rte_lpm6_delete(lpm, ip, depth); in test20()
1307 uint8_t depth; in test21() local
1320 depth = 48; in test21()
1323 status = rte_lpm6_add(lpm, ip_batch[0], depth, next_hop_add); in test21()
1327 depth = 48; in test21()
1330 status = rte_lpm6_add(lpm, ip_batch[1], depth, next_hop_add); in test21()
1334 depth = 48; in test21()
1337 status = rte_lpm6_add(lpm, ip_batch[2], depth, next_hop_add); in test21()
1366 uint8_t depth[5]; in test22() local
1381 depth[0] = 48; in test22()
1384 status = rte_lpm6_add(lpm, ip_batch[0], depth[0], next_hop_add); in test22()
1388 depth[1] = 48; in test22()
1391 status = rte_lpm6_add(lpm, ip_batch[1], depth[1], next_hop_add); in test22()
1395 depth[2] = 48; in test22()
1398 status = rte_lpm6_add(lpm, ip_batch[2], depth[2], next_hop_add); in test22()
1402 depth[3] = 48; in test22()
1405 status = rte_lpm6_add(lpm, ip_batch[3], depth[3], next_hop_add); in test22()
1409 depth[4] = 48; in test22()
1412 status = rte_lpm6_add(lpm, ip_batch[4], depth[4], next_hop_add); in test22()
1423 status = rte_lpm6_delete_bulk_func(lpm, &ip_batch[0], depth, 2); in test22()
1434 status = rte_lpm6_delete_bulk_func(lpm, &ip_batch[2], depth, 1); in test22()
1446 status = rte_lpm6_delete_bulk_func(lpm, &ip_batch[3], depth, 2); in test22()
1458 status = rte_lpm6_delete_bulk_func(lpm, &ip_batch[4], depth, 1); in test22()
1484 uint8_t depth; in test23() local
1496 depth = 128; in test23()
1500 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test23()
1507 status = rte_lpm6_delete(lpm, ip, depth); in test23()
1569 uint8_t depth; in test25() local
1582 depth = large_route_table[i].depth; in test25()
1584 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test25()
1698 uint8_t depth = 128; in test27() local
1710 depth = 128; in test27()
1712 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test27()
1715 depth = 112; in test27()
1717 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test27()
1749 uint8_t depth = 16; in test28() local
1760 status = rte_lpm6_add(lpm, ip, depth, next_hop_add); in test28()
1766 status = rte_lpm6_delete(lpm, ip, depth); in test28()