From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id C173C7CDB; Wed, 6 Jun 2018 15:12:04 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jun 2018 06:12:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,483,1520924400"; d="scan'208";a="61755196" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga001.fm.intel.com with ESMTP; 06 Jun 2018 06:12:01 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.126]) by IRSMSX102.ger.corp.intel.com ([169.254.2.146]) with mapi id 14.03.0319.002; Wed, 6 Jun 2018 14:12:00 +0100 From: "Ananyev, Konstantin" To: "Richardson, Bruce" , "Guo, Jia" , "techboard@dpdk.org" CC: "dev@dpdk.org" , "stephen@networkplumber.org" , "Yigit, Ferruh" , "gaetan.rivet@6wind.com" , "Wu, Jingjing" , "thomas@monjalon.net" , "motih@mellanox.com" , "matan@mellanox.com" , "Van Haaren, Harry" , "Zhang, Qi Z" , "Zhang, Helin" , "jblunck@infradead.org" , "shreyansh.jain@nxp.com" Thread-Topic: [dpdk-dev] [RFC] hot plug failure handle mechanism Thread-Index: AdPzKv18jRKvx3SLT1aSbnU0t6tpMQEC6KaAARoM6wAAe5ZyAAACoZOQ Date: Wed, 6 Jun 2018 13:11:59 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258C0C38AF0@irsmsx105.ger.corp.intel.com> References: <01BA8470C017D6468C8290E4B9C5E1E83B379B43@shsmsx102.ccr.corp.intel.com> <20180529112011.GA22740@bricha3-MOBL.ger.corp.intel.com> <851b7fb1-bb7c-b277-ee85-6c27cef67238@intel.com> <20180606125451.GA2960@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20180606125451.GA2960@bricha3-MOBL.ger.corp.intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTIyNTJiMzQtNjIzMS00NWEyLThkODYtMDgxMzg0MWU3YjA4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZHFzeHR1K0FYVlduWUtFMTVqR0dHcEFBS2Q4VUxyS2lla0Q1WXBnNmZiVGRON2J6XC93UVphVnNmQUZBeGZidjcifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC] hot plug failure handle mechanism 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: Wed, 06 Jun 2018 13:12:05 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUmljaGFyZHNvbiwgQnJ1 Y2UNCj4gU2VudDogV2VkbmVzZGF5LCBKdW5lIDYsIDIwMTggMTo1NSBQTQ0KPiBUbzogR3VvLCBK aWEgPGppYS5ndW9AaW50ZWwuY29tPjsgdGVjaGJvYXJkQGRwZGsub3JnDQo+IENjOiBkZXZAZHBk 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