From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id B74873230 for ; Tue, 24 Jul 2018 15:03:47 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jul 2018 06:03:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,398,1526367600"; d="scan'208";a="69479363" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 24 Jul 2018 06:02:45 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 24 Jul 2018 06:02:43 -0700 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.3]) by fmsmsx111.amr.corp.intel.com ([169.254.12.66]) with mapi id 14.03.0319.002; Tue, 24 Jul 2018 06:02:42 -0700 From: "Wiles, Keith" To: "Van Haaren, Harry" CC: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , Olivier Matz , Honnappa Nagarahalli , "dev@dpdk.org" Thread-Topic: [dpdk-dev] rte_mbuf library likely()/unlikely() Thread-Index: AdQijJFADUW5GJG1Tt2Vvg9FS1SjPQAIQl3QAAJsuyAAFl2pAAASe5GAAAGNkIAABuxYgAADK14A Date: Tue, 24 Jul 2018 13:02:41 +0000 Message-ID: <9B8BA8C2-4059-4B2B-BC36-99674FAA8C7B@intel.com> References: <98CBD80474FA8B44BF855DF32C47DC35B421EE@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35B421F1@smartserver.smartshare.dk> <1220B8CA-FF5E-4632-81E4-E2A5243005BF@intel.com> <20180724072915.tc66rnjxx6lbbvb4@platinum> <98CBD80474FA8B44BF855DF32C47DC35B421F8@smartserver.smartshare.dk> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.3.8] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] rte_mbuf library likely()/unlikely() 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: Tue, 24 Jul 2018 13:03:48 -0000 DQoNCj4gT24gSnVsIDI0LCAyMDE4LCBhdCA2OjMxIEFNLCBWYW4gSGFhcmVuLCBIYXJyeSA8aGFy cnkudmFuLmhhYXJlbkBpbnRlbC5jb20+IHdyb3RlOg0KPiANCj4+IEZyb206IGRldiBbbWFpbHRv OmRldi1ib3VuY2VzQGRwZGsub3JnXSBPbiBCZWhhbGYgT2YgTW9ydGVuIEJyw7hydXANCj4+IFNl bnQ6IFR1ZXNkYXksIEp1bHkgMjQsIDIwMTggOToxNCBBTQ0KPj4gVG86IE9saXZpZXIgTWF0eiA8 b2xpdmllci5tYXR6QDZ3aW5kLmNvbT47IFdpbGVzLCBLZWl0aA0KPj4gPGtlaXRoLndpbGVzQGlu dGVsLmNvbT4NCj4+IENjOiBIb25uYXBwYSBOYWdhcmFoYWxsaSA8SG9ubmFwcGEuTmFnYXJhaGFs bGlAYXJtLmNvbT47IGRldkBkcGRrLm9yZw0KPj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gcnRl X21idWYgbGlicmFyeSBsaWtlbHkoKS91bmxpa2VseSgpDQo+PiANCj4+PiAtLS0tLU9yaWdpbmFs IE1lc3NhZ2UtLS0tLQ0KPj4+IEZyb206IGRldiBbbWFpbHRvOmRldi1ib3VuY2VzQGRwZGsub3Jn XSBPbiBCZWhhbGYgT2YgT2xpdmllciBNYXR6DQo+Pj4gU2VudDogVHVlc2R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