From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 27 Dec 2015 20:17:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,489,1444719600"; d="scan'208";a="882014207" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 27 Dec 2015 20:17:48 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 27 Dec 2015 20:17:48 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 27 Dec 2015 20:17:48 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.111]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.183]) with mapi id 14.03.0248.002; Mon, 28 Dec 2015 12:17:46 +0800 From: "Qiu, Michael" To: "Wang, Zhihong" , "dev@dpdk.org" Thread-Topic: [PATCH v2 0/3] Handle SIGINT and SIGTERM in DPDK examples Thread-Index: AQHRPvhTmolKURmwn0CTr4Qjj55QFA== 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> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 0/3] Handle SIGINT and SIGTERM in DPDK examples X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2015 04:17:49 -0000 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=