From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Qiu, Michael" Subject: Re: [PATCH v2 0/3] Handle SIGINT and SIGTERM in DPDK examples Date: Mon, 28 Dec 2015 04:17:45 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E6028622F04C95@SHSMSX101.ccr.corp.intel.com> References: <1451011032-83106-1-git-send-email-zhihong.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: "Wang, Zhihong" , "dev@dpdk.org" Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4E5988D9F for ; Mon, 28 Dec 2015 05:17:49 +0100 (CET) Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 2015/12/25 17:40, Wang, Zhihong wrote:=0A= > This patch handles SIGINT and SIGTERM in testpmd, l2fwd, and l3fwd, make = sure all ports are properly stopped and closed.=0A= > For virtual ports, the stop and close function may deal with resource cle= anup, such as socket files unlinking.=0A= >=0A= > --------------=0A= > Changes in v2:=0A= >=0A= > 1. Make sure graceful exit for all running phases=0A= >=0A= > 2. Make sure program exits with the right status=0A= >=0A= > Zhihong Wang (3):=0A= > app/test-pmd: Handle SIGINT and SIGTERM in testpmd=0A= > examples/l2fwd: Handle SIGINT and SIGTERM in l2fwd=0A= > examples/l3fwd: Handle SIGINT and SIGTERM in l3fwd=0A= >=0A= > app/test-pmd/cmdline.c | 19 ++++++---=0A= > app/test-pmd/testpmd.c | 38 ++++++++++++++---=0A= > app/test-pmd/testpmd.h | 1 +=0A= > examples/l2fwd/main.c | 60 +++++++++++++++++++++++++++=0A= > examples/l3fwd/main.c | 110 ++++++++++++++++++++++++++++++++++++++++---= ------=0A= > 5 files changed, 196 insertions(+), 32 deletions(-)=0A= >=0A= =0A= Next time, you'd better not to top post for V2 :)=0A= =0A= Acked-by: Michael Qiu =0A=