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

2021-01-26 Thread Jerin Jacob
On Mon, Jan 25, 2021 at 11:22 PM Pavan Nikhilesh Bhagavatula wrote: > > >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

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

2021-01-25 Thread Pavan Nikhilesh Bhagavatula
>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 t