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 1E0FB201 for ; Wed, 28 Dec 2016 04:48:00 +0100 (CET) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP; 27 Dec 2016 19:48:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,420,1477983600"; d="scan'208";a="47319766" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 27 Dec 2016 19:48:00 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 27 Dec 2016 19:48:00 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.20]) by shsmsx102.ccr.corp.intel.com ([169.254.2.88]) with mapi id 14.03.0248.002; Wed, 28 Dec 2016 11:47:57 +0800 From: "Wu, Jingjing" To: Michal Miroslaw , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 12/13] i40e: return -errno when intr setup fails Thread-Index: AQHSVN3eJy5zxBys10ukOxvSWTsFMaEc0FfQ Date: Wed, 28 Dec 2016 03:47:56 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810CC016F@SHSMSX103.ccr.corp.intel.com> References: <7f9c82cc9331585b82fcf680ffe873700808408f.1481590851.git.mirq-linux@rere.qmqm.pl> In-Reply-To: <7f9c82cc9331585b82fcf680ffe873700808408f.1481590851.git.mirq-linux@rere.qmqm.pl> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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] [PATCH 12/13] i40e: return -errno when intr setup fails 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, 28 Dec 2016 03:48:01 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBNaWNoYWwgTWlyb3NsYXcNCj4gU2VudDog VHVlc2RheSwgRGVjZW1iZXIgMTMsIDIwMTYgOTowOCBBTQ0KPiBUbzogZGV2QGRwZGsub3JnDQo+ IFN1YmplY3Q6IFtkcGRrLWRldl0gW1BBVENIIDEyLzEzXSBpNDBlOiByZXR1cm4gLWVycm5vIHdo ZW4gaW50ciBzZXR1cCBmYWlscw0KPiANCj4gU2lnbmVkLW9mZi1ieTogTWljaGHFgiBNaXJvc8WC YXcgPG1pY2hhbC5taXJvc2xhd0BhdGVuZGVzb2Z0d2FyZS5wbD4NCj4gLS0tDQo+ICBkcml2ZXJz L25ldC9pNDBlL2k0MGVfZXRoZGV2LmMgICAgICAgICAgICAgICB8IDUgKysrLS0NCj4gIGxpYi9s aWJydGVfZWFsL2xpbnV4YXBwL2VhbC9lYWxfaW50ZXJydXB0cy5jIHwgMiArLQ0KPiAgMiBmaWxl cyBjaGFuZ2VkLCA0IGluc2VydGlvbnMoKyksIDMgZGVsZXRpb25zKC0pDQo+IA0KPiBkaWZmIC0t Z2l0IGEvZHJpdmVycy9uZXQvaTQwZS9pNDBlX2V0aGRldi5jIGIvZHJpdmVycy9uZXQvaTQwZS9p NDBlX2V0aGRldi5jDQo+IGluZGV4IDY3Nzc4YmEuLjM5ZmJjZmUgMTAwNjQ0DQo+IC0tLSBhL2Ry aXZlcnMvbmV0L2k0MGUvaTQwZV9ldGhkZXYuYw0KPiArKysgYi9kcml2ZXJzL25ldC9pNDBlL2k0 MGVfZXRoZGV2LmMNCj4gQEAgLTE2OTIsOCArMTY5Miw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