From: Pavan Nikhilesh Date: Fri, 1 Mar 2019 07:16:47 +0000 (+0000) Subject: app/eventdev: follow proper teardown sequence X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8f7bc65cefb2fa8e79cf32bcc15945de801f9b48;p=dpdk.git app/eventdev: follow proper teardown sequence Stop eventdev before closing it. Signed-off-by: Pavan Nikhilesh Acked-by: Harry van Haaren --- 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); }