[dpdk-dev] [PATCH v1 0/2] l2fwd-keepalive: Termination cleanup

Remy Horton remy.horton at intel.com
Thu Apr 27 14:37:04 CEST 2017

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, in particular leaving stale shared
host memory handles. This is fixed by adding a signal handler that
causes the processing loops to break, and adding cleanup code to remove
the stale handles.

Remy Horton (2):
  examples/l2fwd-keepalive: add graceful exit
  examples/l2fwd-keepalive: add SHM cleanup on exit

 doc/guides/rel_notes/release_17_05.rst |  4 ++++
 examples/l2fwd-keepalive/main.c        | 31 +++++++++++++++++++++++++++----
 examples/l2fwd-keepalive/shm.c         | 10 ++++++++++
 examples/l2fwd-keepalive/shm.h         |  9 +++++++++
 4 files changed, 50 insertions(+), 4 deletions(-)


More information about the dev mailing list