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

Function testsuite_teardown

dpdk/app/test/test_ipsec_perf.c:564–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564static void
565testsuite_teardown(void)
566{
567 if (mbuf_pool != NULL) {
568 RTE_LOG(DEBUG, USER1, "MBUFPOOL count %u\n",
569 rte_mempool_avail_count(mbuf_pool));
570 rte_mempool_free(mbuf_pool);
571 mbuf_pool = NULL;
572 }
573
574 if (cop_pool != NULL) {
575 RTE_LOG(DEBUG, USER1, "CRYPTO_OP_POOL count %u\n",
576 rte_mempool_avail_count(cop_pool));
577 rte_mempool_free(cop_pool);
578 cop_pool = NULL;
579 }
580
581 rte_ring_free(ring_inb_prepare);
582 rte_ring_free(ring_inb_process);
583 rte_ring_free(ring_outb_prepare);
584 rte_ring_free(ring_outb_process);
585
586 ring_inb_prepare = NULL;
587 ring_inb_process = NULL;
588 ring_outb_prepare = NULL;
589 ring_outb_process = NULL;
590}
591
592static int
593test_libipsec_perf(void)

Callers 1

test_libipsec_perfFunction · 0.70

Calls 3

rte_mempool_avail_countFunction · 0.85
rte_mempool_freeFunction · 0.85
rte_ring_freeFunction · 0.85

Tested by

no test coverage detected