From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 6A1CA2BB2; Fri, 24 Feb 2017 09:54:41 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2017 00:54:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,200,1484035200"; d="scan'208,217";a="1101786742" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 24 Feb 2017 00:54:23 -0800 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 24 Feb 2017 00:54:23 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 24 Feb 2017 00:54:23 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0248.002; Fri, 24 Feb 2017 16:54:22 +0800 From: "Lu, Wenzhuo" To: fengtian Guo , Olivier Matz , "dev@dpdk.org" , "Zhang, Helin" , "Ananyev, Konstantin" CC: "stable@dpdk.org" , David Marchand Thread-Topic: Re:RE: [dpdk-dev] [PATCH] net/ixgbevf: reset hardware when stoppingport Thread-Index: AQHSjnqs+U7bWu16dEa6QzYmgOKqBqF32bRA Date: Fri, 24 Feb 2017 08:54:21 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B56833D@shsmsx102.ccr.corp.intel.com> References: <1484153524-19337-1-git-send-email-olivier.matz@6wind.com> <6A0DE07E22DDAD4C9103DF62FEBC09093B56823A@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/ixgbevf: reset hardware when stoppingport X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2017 08:54:42 -0000 SGkgRmVuZ3RpYW4sDQpXb3VsZCB5b3UgbGlrZSB0byBsZXQgdXMga25vdyBob3cgeW91IHZhbGlk YXRlIHRoaXMgcGF0Y2g/IEFzIEnigJl2ZSB0cmllZCBqdXN0IHN0b3AgLT4gc3RhcnQgVkYgIGNh biBtYWtlIGl0IHdvcmsgYWdhaW4gYWZ0ZXIgUEYgZG93biAtPiB1cC4gVGhhbmtzLg0KDQoNCkZy b206IGZlbmd0aWFuLmd1b0A2d2luZC5jb20uY24gW21haWx0bzpmZW5ndGlhbi5ndW9ANndpbmQu Y29tLmNuXSBPbiBCZWhhbGYgT2YgZmVuZ3RpYW4gR3VvDQpTZW50OiBGcmlkYXksIEZlYnJ1YXJ5 IDI0LCAyMDE3IDQ6NDcgUE0NClRvOiBMdSwgV2Vuemh1bzsgT2xpdmllciBNYXR6OyBkZXZAZHBk ay5vcmc7IFpoYW5nLCBIZWxpbjsgQW5hbnlldiwgS29uc3RhbnRpbg0KQ2M6IHN0YWJsZUBkcGRr Lm9yZzsgRGF2aWQgTWFyY2hhbmQNClN1YmplY3Q6IFJlOlJFOiBbZHBkay1kZXZdIFtQQVRDSF0g bmV0L2l4Z2JldmY6IHJlc2V0IGhhcmR3YXJlIHdoZW4gc3RvcHBpbmdwb3J0DQoNCkhpLCBXZW56 aHVvDQoNClNvcnJ5LCBOb3cgSSBqdXN0IG5vd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