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:
parent
84f4c73f7d
commit
586a6fc6f3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user