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 212B61E2F for ; Wed, 15 Aug 2018 03:31:10 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2018 18:31:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,241,1531810800"; d="scan'208";a="254912571" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga006.fm.intel.com with ESMTP; 14 Aug 2018 18:31:09 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 14 Aug 2018 18:31:09 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 14 Aug 2018 18:31:09 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.240]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.150]) with mapi id 14.03.0319.002; Wed, 15 Aug 2018 09:30:44 +0800 From: "Zhang, Qi Z" To: Kevin Traynor , "thomas@monjalon.net" , "Ananyev, Konstantin" , "Doherty, Declan" , "Yigit, Ferruh" CC: "dev@dpdk.org" , "Shelton, Benjamin H" , "Vangati, Narender" , "Xing, Beilei" , "Lu, Wenzhuo" , "0000-cover-letter.patch@dpdk.org" <0000-cover-letter.patch@dpdk.org> Thread-Topic: [dpdk-dev] [RFC 1/4] ethdev: claim device reset as async Thread-Index: AQHULuV1tRDFBPxq20mwuaPX/Wnw1aS1LkgAgArh91A= Date: Wed, 15 Aug 2018 01:30:43 +0000 Message-ID: <039ED4275CED7440929022BC67E70611532775FB@SHSMSX103.ccr.corp.intel.com> References: <20180808070045.13334-1-qi.z.zhang@intel.com> <516ab569-12d1-8c73-b14c-4a5784c71559@redhat.com> In-Reply-To: <516ab569-12d1-8c73-b14c-4a5784c71559@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzEyMWJjNDYtMDRiNy00ZTU4LWI1MTQtYThhZmEzMjBjYTY1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQUNiaXpMSjRLb1FtVVdqdGNsN1k5Ymp3WTUxNzRFb2pcLzNQMUZWWDlnbG1wb3VybkljMFdKbDdNZzJ4SnlHN3oifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC 1/4] ethdev: claim device reset as async 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, 15 Aug 2018 01:31:12 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogS2V2aW4gVHJheW5vciBb bWFpbHRvOmt0cmF5bm9yQHJlZGhhdC5jb21dDQo+IFNlbnQ6IFdlZG5lc2RheSwgQXVnd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