From 8f7bc65cefb2fa8e79cf32bcc15945de801f9b48 Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Fri, 1 Mar 2019 07:16:47 +0000 Subject: [PATCH] app/eventdev: follow proper teardown sequence Stop eventdev before closing it. Signed-off-by: Pavan Nikhilesh Acked-by: Harry van Haaren --- 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 5db3ffde17..1e525643d3 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.20.1