Re: [dpdk-dev] [PATCH v1 1/2] examples/l2fwd-keepalive: add graceful exit

2017-04-28 Thread Mcnamara, John
> -Original Message- > From: Horton, Remy > Sent: Thursday, April 27, 2017 1:37 PM > To: dev@dpdk.org > Cc: Mcnamara, John > Subject: [PATCH v1 1/2] examples/l2fwd-keepalive: add graceful exit > > The l2fwd-keepalive example has infinite processing loops and as a result > the only way t

[dpdk-dev] [PATCH v1 1/2] examples/l2fwd-keepalive: add graceful exit

2017-04-27 Thread Remy Horton
The l2fwd-keepalive example has infinite processing loops and as a result the only way to exit it is via SIGINT/SIGTERM (e.g. Control-C). The resulting shutdown is unclean, which is fixed by adding a signal handler that causes the processing loops to break. Fixes: e64833f2273a ("examples/l2fwd-kee