From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] mbuf: add helpers to prefetch mbuf Date: Tue, 24 May 2016 11:20:56 +0200 Message-ID: <2117813.iBeYbIPbsz@xps13> References: <1462810707-7434-1-git-send-email-olivier.matz@6wind.com> <1463587328-13019-1-git-send-email-olivier.matz@6wind.com> <20160519064653.GA4790@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Jerin Jacob , dev@dpdk.org, keith.wiles@intel.com To: Olivier Matz Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 0F2DA475E for ; Tue, 24 May 2016 11:20:58 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id z87so11927892wmh.1 for ; Tue, 24 May 2016 02:20:58 -0700 (PDT) In-Reply-To: <20160519064653.GA4790@localhost.localdomain> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-05-19 12:16, Jerin Jacob: > On Wed, May 18, 2016 at 06:02:08PM +0200, Olivier Matz wrote: > > Some architectures (ex: Power8) have a cache line size of 128 bytes, > > so the drivers should not expect that prefetching the second part of > > the mbuf with rte_prefetch0(&m->cacheline1) is valid. > > > > This commit add helpers that can be used by drivers to prefetch the > > rx or tx part of the mbuf, whatever the cache line size. > > > > Signed-off-by: Olivier Matz > > Reviewed-by: Jerin Jacob Applied, thanks