| 271 | } |
| 272 | |
| 273 | static void |
| 274 | fbk_clean(unsigned lcore_id) |
| 275 | { |
| 276 | char fbk_name[MAX_STRING_SIZE]; |
| 277 | struct rte_fbk_hash_table *handle; |
| 278 | int i; |
| 279 | |
| 280 | handle = rte_fbk_hash_find_existing("fr_test_once"); |
| 281 | rte_fbk_hash_free(handle); |
| 282 | |
| 283 | for (i = 0; i < MAX_ITER_MULTI; i++) { |
| 284 | snprintf(fbk_name, sizeof(fbk_name), "fr_test_%d_%d", lcore_id, i); |
| 285 | |
| 286 | if ((handle = rte_fbk_hash_find_existing(fbk_name)) != NULL) |
| 287 | rte_fbk_hash_free(handle); |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | static int |
| 292 | fbk_create_free(__rte_unused void *arg) |
nothing calls this directly
no test coverage detected