From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 984393777 for ; Wed, 20 Jul 2016 09:03:19 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 20 Jul 2016 00:03:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,393,1464678000"; d="scan'208";a="998822950" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 20 Jul 2016 00:03:19 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 20 Jul 2016 00:03:17 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.147]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.116]) with mapi id 14.03.0248.002; Wed, 20 Jul 2016 15:03:16 +0800 From: "Liang, Cunming" To: Yong Wang CC: "dev@dpdk.org" , "david.marchand@6wind.com" , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] eal: fix rte_intr_dp_is_en() check Thread-Index: AQHR3jNXySfaKcsdq0KQtu1c1dnfU6AdvCqA//+syACAAmX4AIAA2kiQ Date: Wed, 20 Jul 2016 07:03:15 +0000 Message-ID: References: <1468542971-48198-1-git-send-email-yongwang@vmware.com> <578C74D9.1030907@intel.com> <8032858.THXMY6Ofjq@xps13> In-Reply-To: Accept-Language: zh-CN, 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] eal: fix rte_intr_dp_is_en() check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 07:03:20 -0000 SGkgWW9uZywNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBZb25nIFdh bmcgW21haWx0bzp5b25nd2FuZ0B2bXdhcmUuY29tXQ0KPiBTZW50OiBXZWRuZXNkYXksIEp1bHkg MjAsIDIwMTYgNTo1OSBBTQ0KPiBUbzogVGhvbWFzIE1vbmphbG9uIDx0aG9tYXMubW9uamFsb25A NndpbmQuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnOyBMaWFuZywgQ3VubWluZyA8Y3VubWluZy5s aWFuZ0BpbnRlbC5jb20+Ow0KPiBkYXZpZC5tYXJjaGFuZEA2d2luZC5jb20NCj4gU3ViamVjdDog UmU6IFtkcGRrLWRldl0gW1BBVENIXSBlYWw6IGZpeCBydGVfaW50cl9kcF9pc19lbigpIGNoZWNr DQo+IA0KPiANCj4gPiBPbiBKdWwgMTgsIDIwMTYsIGF0IDI6MjEgQU0sIFRob21hcyBNb25qYWxv biA8dGhvbWFzLm1vbmphbG9uQDZ3aW5kLmNvbT4NCj4gd3JvdGU6DQo+ID4NCj4gPiBIaSBZb25n LA0KPiA+DQo+ID4gSSB0aGluayB0aGUgaW50ZXJydXB0IG1hbmFnZW1lbnQgc2hvdWxkIGJlIHNp bXBsZXIuDQo+ID4gSWYgeW91IHdhbnQgdG8gaW52ZXN0IHNvbWUgdGltZSB0byByZXdvcmsgdGhp cyBBUEksIHlvdQ0KPiA+IGFyZSB2ZXJ5IHdlbGNvbWUuDQo+ID4NCj4gPg0KPiA+IDIwMTYtMDct MTggMTQ6MTksIExpYW5nLCBDdW5taW5nOg0KPiA+PiBIaSBZb25nLA0KPiA+Pg0KPiA+PiBydGVf aW50cl9kcF9pc19lbigpIHJldHVybnMgdHJ1ZSB3aGVuIHJ0ZV9pbnRyX2VmZF9lbmFibGUoKSAo dGhlIHdheSB0bw0KPiA+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