[dpdk-dev] [PATCH 3/3] app/eventdev: follow proper teardown sequence
Pavan Nikhilesh Bhagavatula
pbhagavatula at marvell.com
Fri Mar 1 08:16:47 CET 2019
From: Pavan Nikhilesh <pbhagavatula at marvell.com>
Stop eventdev before closing it.
Signed-off-by: Pavan Nikhilesh <pbhagavatula at 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
More information about the dev
mailing list