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>
This commit is contained in:
parent
586a6fc6f3
commit
8f7bc65cef
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user