From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E4BB2A0597; Thu, 9 Apr 2020 11:23:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BD6201C1E0; Thu, 9 Apr 2020 11:23:04 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id D9F6E1C1B4 for ; Thu, 9 Apr 2020 11:23:02 +0200 (CEST) IronPort-SDR: 1idZ2UC79HDtZ4KC2lqkrj6fCQBoQv4mMZa01tLyEKyUjvUiWM4E1ec0EW65r5S6oo16EDYCXO TuCMuNdoh9yw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2020 02:23:01 -0700 IronPort-SDR: S6zDttB3C/QZ9zy/uRIpLenT14BTaoKP2uKwtNztrh18XEndvNGUeZtBa5FdWRcuFn1Zoi+hBu 5yNLUbL5/YHA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,362,1580803200"; d="scan'208";a="270026025" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 09 Apr 2020 02:23:01 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Apr 2020 02:23:01 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 9 Apr 2020 02:23:00 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 9 Apr 2020 02:23:00 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.176) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Apr 2020 02:23:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bt7rGKUukxH8B8/JOdOfUbDvwxxIPo8pWVlrrYHWIm74rjF5Hc+nVbow8fS2HXHr7vEGXdJ4oRgn5PInEx2eXmTby8aJCG70oOy4NekPjw7bTE5bV5JtdJiPcAmg3oj1gfl46+nvdaN23XcqwMfJalySHIP2ojPwc69zxQoAmwmI5S4gZFRpDBSNMRKeEIzDoUR5uJa7Kkp+grHFz9/4KzQuyEP72kNOma0XfN9H06/cKQ+AZtwkt1yd3ApMYli6G1NLIutUkATvJomUlcpYflCp/8DGzs/X6oMaQ8uQNpRtqiXd9jxxUVkUkGqNS7hc/zz0JcdaW01QTeIpbabuMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v5fjMhlLmdPXdhR/rpQkt8nvp2Hy4R8e74dgMmGEouc=; b=XgPfVzJHqpz6zGPYuZDEV3bUpYdMkAVNEJC/d+JT8DHwjeA7Jy8Ad7LKOIIChoWPhKMBAKN3qSCZ8evT6VVyLNisjNdU6SdjXgTXJM6hCTz2LJFXhcQG++B6YqKlIZ9RyvFRA3NLAv7zLYceVnaM5ZkgrladUrHE3/yBwbn7xJkPcz/XlGnsoqxr99QlgO1Wb0RnW96daHdhAIKwmAVtT0S+X5qzdQG6mKcMJu3Tf1iM7sbYIgPISYF3/fNKXds/Pc/0OT/jQoBjW/10JDztAo9RmDjEVlwBwapA0P1o8gKJgAiDR0ecJ+DcRZtiTGr2B7mVmo7UOEjSyZAmn7p11Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v5fjMhlLmdPXdhR/rpQkt8nvp2Hy4R8e74dgMmGEouc=; b=hFDCHtZF9v0lV1dpMGj2yGIY2kTd6Tnu8tsZiR2F62gKn20EwpjWWgTn5HcRXK89grLfSJxd2gHnqjed+/rw+340psLpvJqNqAVYc9NMnbhEAclHCnHE67EVuz5oYN62dN2jHZWr2WwyF7YZGrl7o3YPKWgq5bQDH2HYRsr4ETo= Received: from MWHPR1101MB2111.namprd11.prod.outlook.com (2603:10b6:301:4d::21) by MWHPR1101MB2173.namprd11.prod.outlook.com (2603:10b6:301:5a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.17; Thu, 9 Apr 2020 09:22:59 +0000 Received: from MWHPR1101MB2111.namprd11.prod.outlook.com ([fe80::2cae:f763:5d8d:fbce]) by MWHPR1101MB2111.namprd11.prod.outlook.com ([fe80::2cae:f763:5d8d:fbce%11]) with mapi id 15.20.2878.023; Thu, 9 Apr 2020 09:22:58 +0000 From: "Pattan, Reshma" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "Hunt, David" Thread-Topic: [PATCH 2/2] l3fwd-power: implement proper shutdown handling Thread-Index: AQHWDb5cEBVYjCJVRk+mLUI8q3IZ7qhwhNsA Date: Thu, 9 Apr 2020 09:22:57 +0000 Message-ID: References: <854770a880777e7ad200481294a7aa5ac9a45f2d.1586361368.git.anatoly.burakov@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=reshma.pattan@intel.com; x-originating-ip: [192.198.151.190] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8a7012f0-6b8a-48b2-b8c8-08d7dc67982a x-ms-traffictypediagnostic: MWHPR1101MB2173: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0368E78B5B x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR1101MB2111.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(39860400002)(366004)(136003)(346002)(376002)(396003)(186003)(110136005)(81156014)(4326008)(107886003)(86362001)(8676002)(33656002)(4744005)(478600001)(81166007)(71200400001)(55016002)(66476007)(2906002)(8936002)(66946007)(316002)(5660300002)(9686003)(7696005)(26005)(52536014)(66446008)(6506007)(64756008)(76116006)(66556008)(32563001); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2DQdaC+zaC2tHaSdRgVdwkec5EcVSk4SInRARG202fkiBQZbX97fEN88ylZotzXCuAZ9T2w7MDprmTDLmvZolPkmV/KCobXCkRatppcHj6E2gX4vjwgdlg8sDVT8O4tOom1LV8QYbsnJT0jNN4nq4k80F6VM37xES+JbC9trMGIvke1jx7SfIWQmt7DgsnBh/W6xvklhaIOuPHFjNEvoN0550qireiDjwx0GU7eAW4b1CmJOVzMsczDRwwLvnX8g3wSYVnffBow9cmamTWD2/bRHWuAIGv8348Ol0fhngnUYRb3Od/9gK1O/2bwvslr4Mj5xAMvhcAr+ihpIjqtGlW8L1rJPcv/yqMCNoiaeoDr80yPDQelh2IGc1aaQ1OBUNc09OihIvxhMuOVHVGYaMKOlVAs9+YBeA3t0le/zOvtzHrY69jUilV7VR+pMmw+5BCBq+tUjlQMIuJKdZGTBImMLDsUFbhB/MQYPnNw9j78= x-ms-exchange-antispam-messagedata: FzWAYhr4ANCNDMFxdXDZPFjIBwCt4pR5ZzPk7qWJygyVc0vHWFTpTHgbHY+K1T8Nq9aeHtP4N5eQqkwvEFJHBjahFjGpKs5O14LQfSqq2AnmwU/z0EWKeAs/gvVW6o8ru10d6hQ1pDc+w3oH/jcZ1w== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 8a7012f0-6b8a-48b2-b8c8-08d7dc67982a X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2020 09:22:58.1606 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FDHlS5FVK6SUAGs5yaFnN1sg9AEelOw1S4CF/QGv/DlQOS/BugTtC1lCL/VgOqblUC9j2j7ADjzlIQH2pazWWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2173 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 2/2] l3fwd-power: implement proper shutdown handling 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Burakov, Anatoly > Subject: [PATCH 2/2] l3fwd-power: implement proper shutdown handling >=20 > Currently, shutdown for l3fwd-power application is all over the place and= may or > may not happen either in the signal handler or in the main() function. Fi= x this so > that the signal handler will only set the exit variable, thereby allowing= all of the > loops to end properly and proceed to deinitialize everything. >=20 Reviewed-by: Reshma Pattan