Lines Matching refs:table

143 	void *table;  in test_table_stub()  local
147 table = rte_table_stub_ops.f_create(NULL, 0, 1); in test_table_stub()
148 if (table == NULL) in test_table_stub()
159 rte_table_stub_ops.f_lookup(table, mbufs, -1, in test_table_stub()
177 void *table; in test_table_array() local
189 table = rte_table_array_ops.f_create(NULL, 0, 1); in test_table_array()
190 if (table != NULL) in test_table_array()
195 table = rte_table_array_ops.f_create(&array_params, 0, 1); in test_table_array()
196 if (table != NULL) in test_table_array()
201 table = rte_table_array_ops.f_create(&array_params, 0, 1); in test_table_array()
202 if (table != NULL) in test_table_array()
208 table = rte_table_array_ops.f_create(&array_params, 0, 1); in test_table_array()
209 if (table == NULL) in test_table_array()
214 table = rte_table_array_ops.f_create(&array_params, 0, 1); in test_table_array()
215 if (table == NULL) in test_table_array()
219 status = rte_table_array_ops.f_free(table); in test_table_array()
237 table = rte_table_array_ops.f_create(&array_params, 0, 1); in test_table_array()
238 if (table == NULL) in test_table_array()
246 status = rte_table_array_ops.f_add(table, (void *) &array_key_1, NULL, in test_table_array()
251 status = rte_table_array_ops.f_add(table, (void *) &array_key_1, in test_table_array()
257 status = rte_table_array_ops.f_add(table, (void *) &array_key_2, in test_table_array()
268 rte_table_array_ops.f_lookup(table, mbufs, -1, in test_table_array()
282 status = rte_table_array_ops.f_free(table); in test_table_array()
293 void *table; in test_table_lpm() local
310 table = rte_table_lpm_ops.f_create(NULL, 0, entry_size); in test_table_lpm()
311 if (table != NULL) in test_table_lpm()
316 table = rte_table_lpm_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm()
317 if (table != NULL) in test_table_lpm()
323 table = rte_table_lpm_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm()
324 if (table != NULL) in test_table_lpm()
331 table = rte_table_lpm_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm()
332 if (table != NULL) in test_table_lpm()
337 table = rte_table_lpm_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm()
338 if (table != NULL) in test_table_lpm()
343 table = rte_table_lpm_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm()
344 if (table == NULL) in test_table_lpm()
348 status = rte_table_lpm_ops.f_free(table); in test_table_lpm()
360 table = rte_table_lpm_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm()
361 if (table == NULL) in test_table_lpm()
369 status = rte_table_lpm_ops.f_add(table, NULL, &entry, &key_found, in test_table_lpm()
374 status = rte_table_lpm_ops.f_add(table, &lpm_key, NULL, &key_found, in test_table_lpm()
380 status = rte_table_lpm_ops.f_add(table, &lpm_key, &entry, &key_found, in test_table_lpm()
386 status = rte_table_lpm_ops.f_add(table, &lpm_key, &entry, &key_found, in test_table_lpm()
392 status = rte_table_lpm_ops.f_add(table, &lpm_key, &entry, &key_found, in test_table_lpm()
402 status = rte_table_lpm_ops.f_delete(table, NULL, &key_found, NULL); in test_table_lpm()
407 status = rte_table_lpm_ops.f_delete(table, &lpm_key, &key_found, NULL); in test_table_lpm()
412 status = rte_table_lpm_ops.f_delete(table, &lpm_key, &key_found, NULL); in test_table_lpm()
417 status = rte_table_lpm_ops.f_delete(table, &lpm_key, &key_found, NULL); in test_table_lpm()
421 status = rte_table_lpm_ops.f_delete(table, &lpm_key, &key_found, NULL); in test_table_lpm()
427 status = rte_table_lpm_ops.f_add(table, &lpm_key, &entry, &key_found, in test_table_lpm()
439 rte_table_lpm_ops.f_lookup(table, mbufs, -1, in test_table_lpm()
448 status = rte_table_lpm_ops.f_free(table); in test_table_lpm()
459 void *table; in test_table_lpm_ipv6() local
475 table = rte_table_lpm_ipv6_ops.f_create(NULL, 0, entry_size); in test_table_lpm_ipv6()
476 if (table != NULL) in test_table_lpm_ipv6()
481 table = rte_table_lpm_ipv6_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm_ipv6()
482 if (table != NULL) in test_table_lpm_ipv6()
488 table = rte_table_lpm_ipv6_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm_ipv6()
489 if (table != NULL) in test_table_lpm_ipv6()
494 table = rte_table_lpm_ipv6_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm_ipv6()
495 if (table != NULL) in test_table_lpm_ipv6()
500 table = rte_table_lpm_ipv6_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm_ipv6()
501 if (table != NULL) in test_table_lpm_ipv6()
505 table = rte_table_lpm_ipv6_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm_ipv6()
506 if (table != NULL) in test_table_lpm_ipv6()
512 table = rte_table_lpm_ipv6_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm_ipv6()
513 if (table == NULL) in test_table_lpm_ipv6()
517 status = rte_table_lpm_ipv6_ops.f_free(table); in test_table_lpm_ipv6()
533 table = rte_table_lpm_ipv6_ops.f_create(&lpm_params, 0, entry_size); in test_table_lpm_ipv6()
534 if (table == NULL) in test_table_lpm_ipv6()
542 status = rte_table_lpm_ipv6_ops.f_add(table, NULL, &entry, &key_found, in test_table_lpm_ipv6()
547 status = rte_table_lpm_ipv6_ops.f_add(table, &lpm_key, NULL, &key_found, in test_table_lpm_ipv6()
553 status = rte_table_lpm_ipv6_ops.f_add(table, &lpm_key, &entry, in test_table_lpm_ipv6()
559 status = rte_table_lpm_ipv6_ops.f_add(table, &lpm_key, &entry, in test_table_lpm_ipv6()
565 status = rte_table_lpm_ipv6_ops.f_add(table, &lpm_key, &entry, in test_table_lpm_ipv6()
576 status = rte_table_lpm_ipv6_ops.f_delete(table, NULL, &key_found, NULL); in test_table_lpm_ipv6()
581 status = rte_table_lpm_ipv6_ops.f_delete(table, &lpm_key, &key_found, in test_table_lpm_ipv6()
587 status = rte_table_lpm_ipv6_ops.f_delete(table, &lpm_key, &key_found, in test_table_lpm_ipv6()
593 status = rte_table_lpm_ipv6_ops.f_delete(table, &lpm_key, &key_found, in test_table_lpm_ipv6()
598 status = rte_table_lpm_ipv6_ops.f_delete(table, &lpm_key, &key_found, in test_table_lpm_ipv6()
605 status = rte_table_lpm_ipv6_ops.f_add(table, &lpm_key, &entry, in test_table_lpm_ipv6()
617 rte_table_lpm_ipv6_ops.f_lookup(table, mbufs, -1, in test_table_lpm_ipv6()
626 status = rte_table_lpm_ipv6_ops.f_free(table); in test_table_lpm_ipv6()
637 void *table; in test_table_hash_lru_generic() local
657 table = ops->f_create(&hash_params, 0, 1); in test_table_hash_lru_generic()
658 if (table != NULL) in test_table_hash_lru_generic()
664 table = ops->f_create(&hash_params, 0, 1); in test_table_hash_lru_generic()
665 if (table != NULL) in test_table_hash_lru_generic()
670 table = ops->f_create(&hash_params, 0, 1); in test_table_hash_lru_generic()
671 if (table == NULL) in test_table_hash_lru_generic()
675 status = ops->f_free(table); in test_table_hash_lru_generic()
690 table = ops->f_create(&hash_params, 0, 1); in test_table_hash_lru_generic()
691 if (table == NULL) in test_table_hash_lru_generic()
695 status = ops->f_add(table, &key, &entry, &key_found, &entry_ptr); in test_table_hash_lru_generic()
700 status = ops->f_delete(table, &key, &key_found, NULL); in test_table_hash_lru_generic()
704 status = ops->f_delete(table, &key, &key_found, NULL); in test_table_hash_lru_generic()
710 status = ops->f_add(table, &key, &entry, &key_found, &entry_ptr); in test_table_hash_lru_generic()
721 ops->f_lookup(table, mbufs, -1, &result_mask, (void **)entries); in test_table_hash_lru_generic()
729 status = ops->f_free(table); in test_table_hash_lru_generic()
740 void *table; in test_table_hash_ext_generic() local
760 table = ops->f_create(&hash_params, 0, 1); in test_table_hash_ext_generic()
761 if (table != NULL) in test_table_hash_ext_generic()
767 table = ops->f_create(&hash_params, 0, 1); in test_table_hash_ext_generic()
768 if (table == NULL) in test_table_hash_ext_generic()
774 table = ops->f_create(&hash_params, 0, 1); in test_table_hash_ext_generic()
775 if (table != NULL) in test_table_hash_ext_generic()
780 table = ops->f_create(&hash_params, 0, 1); in test_table_hash_ext_generic()
781 if (table == NULL) in test_table_hash_ext_generic()
785 status = ops->f_free(table); in test_table_hash_ext_generic()
800 table = ops->f_create(&hash_params, 0, 1); in test_table_hash_ext_generic()
801 if (table == NULL) in test_table_hash_ext_generic()
805 status = ops->f_add(table, &key, &entry, &key_found, &entry_ptr); in test_table_hash_ext_generic()
810 status = ops->f_delete(table, &key, &key_found, NULL); in test_table_hash_ext_generic()
814 status = ops->f_delete(table, &key, &key_found, NULL); in test_table_hash_ext_generic()
820 status = ops->f_add(table, &key, &entry, &key_found, &entry_ptr); in test_table_hash_ext_generic()
831 ops->f_lookup(table, mbufs, -1, &result_mask, (void **)entries); in test_table_hash_ext_generic()
839 status = ops->f_free(table); in test_table_hash_ext_generic()
901 void *table; in test_table_hash_cuckoo() local
920 table = rte_table_hash_cuckoo_ops.f_create(NULL, 0, entry_size); in test_table_hash_cuckoo()
921 if (table != NULL) in test_table_hash_cuckoo()
926 table = rte_table_hash_cuckoo_ops.f_create(&cuckoo_params, in test_table_hash_cuckoo()
928 if (table != NULL) in test_table_hash_cuckoo()
934 table = rte_table_hash_cuckoo_ops.f_create(&cuckoo_params, in test_table_hash_cuckoo()
936 if (table != NULL) in test_table_hash_cuckoo()
942 table = rte_table_hash_cuckoo_ops.f_create(&cuckoo_params, in test_table_hash_cuckoo()
944 if (table != NULL) in test_table_hash_cuckoo()
950 table = rte_table_hash_cuckoo_ops.f_create(&cuckoo_params, in test_table_hash_cuckoo()
952 if (table != NULL) in test_table_hash_cuckoo()
957 table = rte_table_hash_cuckoo_ops.f_create(&cuckoo_params, in test_table_hash_cuckoo()
959 if (table == NULL) in test_table_hash_cuckoo()
963 status = rte_table_hash_cuckoo_ops.f_free(table); in test_table_hash_cuckoo()
978 table = rte_table_hash_cuckoo_ops.f_create(&cuckoo_params, 0, 1); in test_table_hash_cuckoo()
979 if (table == NULL) in test_table_hash_cuckoo()
988 status = rte_table_hash_cuckoo_ops.f_add(table, NULL, &entry, in test_table_hash_cuckoo()
993 status = rte_table_hash_cuckoo_ops.f_add(table, &key_cuckoo, in test_table_hash_cuckoo()
998 status = rte_table_hash_cuckoo_ops.f_add(table, &key_cuckoo, in test_table_hash_cuckoo()
1003 status = rte_table_hash_cuckoo_ops.f_add(table, &key_cuckoo, in test_table_hash_cuckoo()
1014 status = rte_table_hash_cuckoo_ops.f_delete(table, NULL, in test_table_hash_cuckoo()
1019 status = rte_table_hash_cuckoo_ops.f_delete(table, &key_cuckoo, in test_table_hash_cuckoo()
1024 status = rte_table_hash_cuckoo_ops.f_delete(table, &key_cuckoo, in test_table_hash_cuckoo()
1031 status = rte_table_hash_cuckoo_ops.f_add(table, &key_cuckoo, in test_table_hash_cuckoo()
1044 rte_table_hash_cuckoo_ops.f_lookup(table, mbufs, -1, in test_table_hash_cuckoo()
1053 status = rte_table_hash_cuckoo_ops.f_free(table); in test_table_hash_cuckoo()