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

Function pipeline_mempool_destroy

dpdk/app/test-eventdev/test_pipeline_common.c:826–839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

824}
825
826void
827pipeline_mempool_destroy(struct evt_test *test, struct evt_options *opt)
828{
829 struct test_pipeline *t = evt_test_priv(test);
830 int i;
831
832 RTE_SET_USED(opt);
833 if (opt->per_port_pool) {
834 RTE_ETH_FOREACH_DEV(i)
835 rte_mempool_free(t->pool[i]);
836 } else {
837 rte_mempool_free(t->pool[0]);
838 }
839}
840
841int
842pipeline_test_setup(struct evt_test *test, struct evt_options *opt)

Callers

nothing calls this directly

Calls 2

evt_test_privFunction · 0.85
rte_mempool_freeFunction · 0.85

Tested by

no test coverage detected