MCPcopy Create free account
hub / github.com/F-Stack/f-stack / swtim_free_tim

Function swtim_free_tim

dpdk/lib/eventdev/rte_event_timer_adapter.c:1011–1017  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009}
1010
1011static void
1012swtim_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.

Callers

nothing calls this directly

Calls 1

rte_mempool_putFunction · 0.85

Tested by

no test coverage detected