Re: [dpdk-dev] [PATCH] examples/eventdev_pipeline: fix segfault on exit

2020-05-07 Thread Zhou, JunX W
Tested-by: Zhou, JunX W -Original Message- From: Van Haaren, Harry Sent: Tuesday, May 5, 2020 5:39 PM To: dev@dpdk.org Cc: Zhou, JunX W ; Van Haaren, Harry ; sta...@dpdk.org; pbhagavat...@caviumnetworks.com Subject: [PATCH] examples/eventdev_pipeline: fix segfault on exit This commit f

[dpdk-dev] [PATCH] examples/eventdev_pipeline: fix segfault on exit

2020-05-05 Thread Harry van Haaren
This commit fixes a segfault on exit by using Ctrl^C if the master lcore was also being used as a worker core. The root cause of the issue was that the interrupt handler was cleaning up resources such as the ethdev and eventdev ports, and once the interrupt handler would return, that thread would c