summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPavan Nikhilesh <pbhagavatula@marvell.com>2019-03-01 07:16:47 +0000
committerJerin Jacob <jerinj@marvell.com>2019-03-15 06:46:50 +0100
commit8f7bc65cefb2fa8e79cf32bcc15945de801f9b48 (patch)
treee18669302dc54b989cbc7097f7b303eea1a5f9d7 /app
parent586a6fc6f33315ab2c03395b4d527cfefeca5790 (diff)
downloaddpdk-next-eventdev-8f7bc65cefb2fa8e79cf32bcc15945de801f9b48.zip
dpdk-next-eventdev-8f7bc65cefb2fa8e79cf32bcc15945de801f9b48.tar.gz
dpdk-next-eventdev-8f7bc65cefb2fa8e79cf32bcc15945de801f9b48.tar.xz
app/eventdev: follow proper teardown sequence
Stop eventdev before closing it. Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Diffstat (limited to 'app')
-rw-r--r--app/test-eventdev/test_pipeline_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c
index 5db3ffd..1e52564 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);
}