| 1009 | } |
| 1010 | |
| 1011 | static void |
| 1012 | swtim_free_tim(struct rte_timer *tim, void *arg) |
| 1013 | { |
| 1014 | struct swtim *sw = arg; |
| 1015 | |
| 1016 | rte_mempool_put(sw->tim_pool, tim); |
| 1017 | } |
| 1018 | |
| 1019 | /* Traverse the list of outstanding timers and put them back in the mempool |
| 1020 | * before freeing the adapter to avoid leaking the memory. |
nothing calls this directly
no test coverage detected