From: Pavan Nikhilesh <pbhagavat...@marvell.com>

Stop eventdev before closing it.

Signed-off-by: Pavan Nikhilesh <pbhagavat...@marvell.com>
---
 app/test-eventdev/test_pipeline_common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/test-eventdev/test_pipeline_common.c 
b/app/test-eventdev/test_pipeline_common.c
index 5db3ffde1..1e525643d 100644
--- a/app/test-eventdev/test_pipeline_common.c
+++ b/app/test-eventdev/test_pipeline_common.c
@@ -396,6 +396,7 @@ pipeline_eventdev_destroy(struct evt_test *test, struct 
evt_options *opt)
 {
        RTE_SET_USED(test);
 
+       rte_event_dev_stop(opt->dev_id);
        rte_event_dev_close(opt->dev_id);
 }
 
-- 
2.21.0

Reply via email to