[dpdk-dev] [PATCH 0/3] Handle SIGINT and SIGTERM in DPDK examples

Zhihong Wang zhihong.wang at intel.com
Wed Dec 23 21:03:12 CET 2015


This patch handles SIGINT and SIGTERM in testpmd, l2fwd, and l3fwd, make sure all ports are properly stopped and closed.
For virtual ports, the stop and close function may deal with resource cleanup, such as socket files unlinking.

Zhihong Wang (3):
  app/test-pmd: Handle SIGINT and SIGTERM in testpmd
  examples/l2fwd: Handle SIGINT and SIGTERM in l2fwd
  examples/l3fwd: Handle SIGINT and SIGTERM in l3fwd

 app/test-pmd/testpmd.c | 23 +++++++++++++++++++++++
 examples/l2fwd/main.c  | 25 +++++++++++++++++++++++++
 examples/l3fwd/main.c  | 25 +++++++++++++++++++++++++
 3 files changed, 73 insertions(+)

-- 
2.5.0



More information about the dev mailing list