examples/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:
Pavan Nikhilesh 2019-03-01 07:16:45 +00:00 committed by Jerin Jacob
parent 84f4c73f7d
commit 586a6fc6f3

View File

@ -421,6 +421,7 @@ signal_handler(int signum)
rte_eth_dev_close(portid);
}
rte_event_dev_stop(0);
rte_event_dev_close(0);
}
if (signum == SIGTSTP)