| 340 | |
| 341 | #ifdef RTE_LIB_LPM |
| 342 | static void |
| 343 | lpm_clean(unsigned int lcore_id) |
| 344 | { |
| 345 | char lpm_name[MAX_STRING_SIZE]; |
| 346 | struct rte_lpm *lpm; |
| 347 | int i; |
| 348 | |
| 349 | lpm = rte_lpm_find_existing("fr_test_once"); |
| 350 | rte_lpm_free(lpm); |
| 351 | |
| 352 | for (i = 0; i < MAX_LPM_ITER_TIMES; i++) { |
| 353 | snprintf(lpm_name, sizeof(lpm_name), "fr_test_%d_%d", lcore_id, i); |
| 354 | |
| 355 | if ((lpm = rte_lpm_find_existing(lpm_name)) != NULL) |
| 356 | rte_lpm_free(lpm); |
| 357 | } |
| 358 | } |
| 359 | |
| 360 | static int |
| 361 | lpm_create_free(__rte_unused void *arg) |
nothing calls this directly
no test coverage detected