[dpdk-dev] [PATCH 2/2] l3fwd-power: implement proper shutdown handling

Hunt, David david.hunt at intel.com
Thu Apr 9 10:44:21 CEST 2020


Hi Anatoly,


On 8/4/2020 4:56 PM, Anatoly Burakov wrote:
> Currently, shutdown for l3fwd-power application is all over the place
> and may or may not happen either in the signal handler or in the main()
> function. Fix this so that the signal handler will only set the exit
> variable, thereby allowing all of the loops to end properly and proceed
> to deinitialize everything.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
>   examples/l3fwd-power/main.c | 74 ++++++++++++++++++++-----------------
>   1 file changed, 40 insertions(+), 34 deletions(-)
>

Acked-by: David Hunt <david.hunt at intel.com>




More information about the dev mailing list