numam-dpdk/examples
Remy Horton 91e89e477e examples/l2fwd-keepalive: add graceful exit
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: e64833f227 ("examples/l2fwd-keepalive: add sample application")

Signed-off-by: Remy Horton <remy.horton@intel.com>
Tested-by: Roman Korynkevych <romanx.korynkevych@intel.com>
2017-05-01 16:42:07 +02:00
..
bond examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
cmdline examples: fix whitespace 2015-06-12 11:10:10 +02:00
distributor ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
ethtool examples/ethtool: disable promiscuous mode by default 2017-04-21 02:24:31 +02:00
exception_path examples: fix build clean on FreeBSD 2017-04-21 16:19:54 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation examples: limit max frame size 2017-04-21 02:21:29 +02:00
ip_pipeline examples/ip_pipeline: avoid panic if link up/down not supported 2017-04-21 02:15:12 +02:00
ip_reassembly examples: limit max frame size 2017-04-21 02:21:29 +02:00
ipsec-secgw examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
ipv4_multicast examples: limit max frame size 2017-04-21 02:21:29 +02:00
kni examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l2fwd examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l2fwd-cat examples: fix optind reset 2017-03-10 15:38:47 +01:00
l2fwd-crypto examples/l2fwd-crypto: fix packets array index 2017-04-28 17:46:19 +02:00
l2fwd-jobstats examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l2fwd-keepalive examples/l2fwd-keepalive: add graceful exit 2017-05-01 16:42:07 +02:00
l3fwd examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l3fwd-acl examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l3fwd-power examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l3fwd-vf examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
link_status_interrupt examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
load_balancer examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
multi_process examples/multi_process: fix timer update 2017-05-01 16:39:28 +02:00
netmap_compat examples: fix build clean on FreeBSD 2017-04-21 16:19:54 +02:00
packet_ordering ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
performance-thread examples/performance-thread: fix build on FreeBSD 10.0 2017-05-01 16:10:03 +02:00
ptpclient examples: fix optind reset 2017-03-10 15:38:47 +01:00
qos_meter examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
qos_sched examples: fix build clean on FreeBSD 2017-04-21 16:19:54 +02:00
quota_watermark examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
rxtx_callbacks apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
server_node_efd ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
skeleton apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
tep_termination examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
vhost_xen examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
vm_power_manager examples/vm_power_manager: remove dependency on internal header 2016-07-11 17:23:32 +02:00
vmdq remove unused ring includes 2016-09-16 10:16:02 +02:00
vmdq_dcb remove unused ring includes 2016-09-16 10:16:02 +02:00
Makefile examples: enable build of performance-thread 2017-04-06 21:37:19 +02:00