[1/2] test/crypto: close PMD after tests
Checks
Commit Message
This patch adds closing of the PMD after running the tests.
Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
---
app/test/test_cryptodev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -976,8 +976,9 @@ ut_teardown(void)
rte_cryptodev_stats_get(ts_params->valid_devs[0], &stats);
- /* Stop the device */
+ /* Stop and close the device */
rte_cryptodev_stop(ts_params->valid_devs[0]);
+ rte_cryptodev_close(ts_params->valid_devs[0]);
}
static int