| 562 | } |
| 563 | |
| 564 | static void |
| 565 | testsuite_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 | |
| 592 | static int |
| 593 | test_libipsec_perf(void) |
no test coverage detected