Re: [dpdk-dev] [PATCH] examples/eventdev: move eth stop to the end

2020-12-21 Thread Van Haaren, Harry
> -Original Message- > From: Feifei Wang > Sent: Monday, December 21, 2020 5:35 AM > To: Van Haaren, Harry ; Rao, Nikhil > ; Pavan Nikhilesh > Cc: dev@dpdk.org; n...@arm.com; Feifei Wang ; > pbhagavat...@marvell.com; sta...@dpdk.org > Subject: [PATCH] examples/eventdev: move eth stop to t

[dpdk-dev] [PATCH] examples/eventdev: move eth stop to the end

2020-12-20 Thread Feifei Wang
Move eth stop code from "signal_handler" function to the end of "main" function. There are two reasons for this: First, this improves code maintenance and makes code look simple and clear. Based on this change, after receiving the interrupt signal, "fdata->done" is set as 1. Then the main thread w