From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 08C4F9E3 for ; Fri, 28 Apr 2017 10:37:14 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Apr 2017 01:37:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,387,1488873600"; d="scan'208";a="94880475" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by fmsmga005.fm.intel.com with ESMTP; 28 Apr 2017 01:37:12 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.241]) by irsmsx110.ger.corp.intel.com ([169.254.15.151]) with mapi id 14.03.0319.002; Fri, 28 Apr 2017 09:37:11 +0100 From: "Mcnamara, John" To: "Horton, Remy" , "dev@dpdk.org" Thread-Topic: [PATCH v1 1/2] examples/l2fwd-keepalive: add graceful exit Thread-Index: AQHSv1MJ8ss2Kfs8r06zBaMJX/0lKqHadniQ Date: Fri, 28 Apr 2017 08:37:10 +0000 Message-ID: References: <1493296626-28128-1-git-send-email-remy.horton@intel.com> <1493296626-28128-2-git-send-email-remy.horton@intel.com> In-Reply-To: <1493296626-28128-2-git-send-email-remy.horton@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_PUBLIC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjkzNzgxZGQtNThmMi00YzFkLWIzMWEtN2U5NzMzODg0MjJkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX1BVQkxJQyJ9XX1dfSwiU3ViamVjdExhYmVscyI6W10sIlRNQ1ZlcnNpb24iOiIxNS45LjYuNiIsIlRydXN0ZWRMYWJlbEhhc2giOiJGdlE4bU1MOThYZ0ptRjBEOFwvQnlBUXczZDF3NEJZOXFTXC9GeTFpdW8xd2c9In0= dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v1 1/2] examples/l2fwd-keepalive: add graceful exit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2017 08:37:15 -0000 > -----Original Message----- > From: Horton, Remy > Sent: Thursday, April 27, 2017 1:37 PM > To: dev@dpdk.org > Cc: Mcnamara, John > Subject: [PATCH v1 1/2] examples/l2fwd-keepalive: add graceful exit >=20 > 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. >=20 > Fixes: e64833f2273a ("examples/l2fwd-keepalive: add sample application") >=20 > Signed-off-by: Remy Horton Tested-by Roman Korynkevych