From: Pavan Nikhilesh <pbhagavat...@marvell.com>

Stop eventdev before closing it.

Signed-off-by: Pavan Nikhilesh <pbhagavat...@marvell.com>
---
 examples/eventdev_pipeline/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/eventdev_pipeline/main.c 
b/examples/eventdev_pipeline/main.c
index 92e08bc0c..2ad7d24e2 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)
-- 
2.21.0

Reply via email to