From: Pavan Nikhilesh Date: Fri, 1 Mar 2019 07:16:45 +0000 (+0000) Subject: examples/eventdev: follow proper teardown sequence X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=586a6fc6f33315ab2c03395b4d527cfefeca5790;p=dpdk.git examples/eventdev: follow proper teardown sequence Stop eventdev before closing it. Signed-off-by: Pavan Nikhilesh Acked-by: Harry van Haaren --- diff --git a/examples/eventdev_pipeline/main.c b/examples/eventdev_pipeline/main.c index 92e08bc0c8..2ad7d24e25 100644 --- a/examples/eventdev_pipeline/main.c +++ b/examples/eventdev_pipeline/main.c @@ -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)