| 204 | |
| 205 | #ifdef RTE_LIB_HASH |
| 206 | static void |
| 207 | hash_clean(unsigned lcore_id) |
| 208 | { |
| 209 | char hash_name[MAX_STRING_SIZE]; |
| 210 | struct rte_hash *handle; |
| 211 | int i; |
| 212 | |
| 213 | handle = rte_hash_find_existing("fr_test_once"); |
| 214 | rte_hash_free(handle); |
| 215 | |
| 216 | for (i = 0; i < MAX_ITER_MULTI; i++) { |
| 217 | snprintf(hash_name, sizeof(hash_name), "fr_test_%d_%d", lcore_id, i); |
| 218 | |
| 219 | if ((handle = rte_hash_find_existing(hash_name)) != NULL) |
| 220 | rte_hash_free(handle); |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | static int |
| 225 | hash_create_free(__rte_unused void *arg) |
nothing calls this directly
no test coverage detected