summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPavan Nikhilesh <pbhagavatula@marvell.com>2019-03-01 07:16:45 +0000
committerJerin Jacob <jerinj@marvell.com>2019-03-15 06:46:50 +0100
commit586a6fc6f33315ab2c03395b4d527cfefeca5790 (patch)
treeed3fceb21395f53eced0c647b64a9200de329173 /examples
parent84f4c73f7d85a50e4ca9c799709953c254983f26 (diff)
downloaddpdk-next-eventdev-586a6fc6f33315ab2c03395b4d527cfefeca5790.zip
dpdk-next-eventdev-586a6fc6f33315ab2c03395b4d527cfefeca5790.tar.gz
dpdk-next-eventdev-586a6fc6f33315ab2c03395b4d527cfefeca5790.tar.xz
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>
Diffstat (limited to 'examples')
-rw-r--r--examples/eventdev_pipeline/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/eventdev_pipeline/main.c b/examples/eventdev_pipeline/main.c
index 92e08bc..2ad7d24 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)