From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 343528D3D for ; Tue, 10 May 2016 00:02:53 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 09 May 2016 15:02:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,602,1455004800"; d="scan'208";a="962233233" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga001.fm.intel.com with ESMTP; 09 May 2016 15:02:53 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.211]) by fmsmsx107.amr.corp.intel.com ([169.254.6.237]) with mapi id 14.03.0248.002; Mon, 9 May 2016 15:02:52 -0700 From: "Wiles, Keith" To: Olivier Matz , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] mbuf: add helpers to prefetch mbuf Thread-Index: AQHRqg6W3FB88+SwK0WklYQcHVvhdJ+xSnmA Date: Mon, 9 May 2016 22:02:52 +0000 Message-ID: <645005AB-A5B0-43AC-8E44-AD8D6526DF3D@intel.com> References: <1462810707-7434-1-git-send-email-olivier.matz@6wind.com> In-Reply-To: <1462810707-7434-1-git-send-email-olivier.matz@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.255.88.137] Content-Type: text/plain; charset="utf-8" Content-ID: <006D8E75DE1C83419E3C3C5AF40B5247@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] mbuf: add helpers to prefetch mbuf 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: Mon, 09 May 2016 22:02:54 -0000 PmRpZmYgLS1naXQgYS9saWIvbGlicnRlX21idWYvcnRlX21idWY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