| 685 | } |
| 686 | |
| 687 | static void |
| 688 | testsuite_teardown(void) |
| 689 | { |
| 690 | struct crypto_testsuite_params *ts_params = &testsuite_params; |
| 691 | int res; |
| 692 | |
| 693 | if (ts_params->mbuf_pool != NULL) { |
| 694 | RTE_LOG(DEBUG, USER1, "CRYPTO_MBUFPOOL count %u\n", |
| 695 | rte_mempool_avail_count(ts_params->mbuf_pool)); |
| 696 | } |
| 697 | |
| 698 | if (ts_params->op_mpool != NULL) { |
| 699 | RTE_LOG(DEBUG, USER1, "CRYPTO_OP_POOL count %u\n", |
| 700 | rte_mempool_avail_count(ts_params->op_mpool)); |
| 701 | } |
| 702 | |
| 703 | if (ts_params->session_mpool != NULL) { |
| 704 | rte_mempool_free(ts_params->session_mpool); |
| 705 | ts_params->session_mpool = NULL; |
| 706 | } |
| 707 | |
| 708 | res = rte_cryptodev_close(ts_params->valid_devs[0]); |
| 709 | if (res) |
| 710 | RTE_LOG(ERR, USER1, "Crypto device close error %d\n", res); |
| 711 | } |
| 712 | |
| 713 | static int |
| 714 | check_capabilities_supported(enum rte_crypto_sym_xform_type type, |
nothing calls this directly
no test coverage detected