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 8259F239 for ; Tue, 24 Jul 2018 13:35:28 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jul 2018 04:35:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,397,1526367600"; d="scan'208";a="75018755" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by fmsmga001.fm.intel.com with ESMTP; 24 Jul 2018 04:32:02 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.110]) by IRSMSX109.ger.corp.intel.com ([169.254.13.124]) with mapi id 14.03.0319.002; Tue, 24 Jul 2018 12:31:57 +0100 From: "Van Haaren, Harry" To: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , Olivier Matz , "Wiles, Keith" CC: Honnappa Nagarahalli , "dev@dpdk.org" Thread-Topic: [dpdk-dev] rte_mbuf library likely()/unlikely() Thread-Index: AdQijJFADUW5GJG1Tt2Vvg9FS1SjPQAIQl3QAAJsuyAAFl2pAAABuAiAAAGNkIAAA9euMA== Date: Tue, 24 Jul 2018 11:31:57 +0000 Message-ID: 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: <98CBD80474FA8B44BF855DF32C47DC35B421F8@smartserver.smartshare.dk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWExYTEzMTYtYmQ1ZC00ODI3LWIyMWItMjM3OGI2NDA4NTYyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiY1VxTVZNcG84XC84VXU1dTlPRE5HZUVoMUgwOTE5NmNpZWFiSUxQRmlLQlRkYm5GYjZ2anpHVnNQWGo4VGUyQlMifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="utf-8" 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 11:35:29 -0000 PiBGcm9tOiBkZXYgW21haWx0bzpkZXYtYm91bmNlc0BkcGRrLm9yZ10gT24gQmVoYWxmIE9mIE1v cnRlbiBCcsO4cnVwDQo+IFNlbnQ6IFR1ZXNkYXksIEp1bHkgMjQsIDIwMTggOToxNCBBTQ0KPiBU bzogT2xpdmllciBNYXR6IDxvbGl2aWVyLm1hdHpANndpbmQuY29tPjsgV2lsZXMsIEtlaXRoDQo+ IDxrZWl0aC53aWxlc0BpbnRlbC5jb20+DQo+IENjOiBIb25uYXBwYSBOYWdhcmFoYWxsaSA8SG9u bmFwcGEuTmFnYXJhaGFsbGlAYXJtLmNvbT47IGRldkBkcGRrLm9y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