From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zoltan Kiss Subject: Re: [PATCH] ixgbe: prefetch cacheline after pointer becomes valid Date: Fri, 25 Sep 2015 10:42:07 -0700 Message-ID: <5605876F.1050807@linaro.org> References: <1443140606-18241-1-git-send-email-zoltan.kiss@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: "Mcnamara, John" , "dev@dpdk.org" Return-path: Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by dpdk.org (Postfix) with ESMTP id AA2F78E6F for ; Fri, 25 Sep 2015 19:42:09 +0200 (CEST) Received: by pablk4 with SMTP id lk4so14735588pab.3 for ; Fri, 25 Sep 2015 10:42:08 -0700 (PDT) In-Reply-To: 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" On 25/09/15 04:47, Mcnamara, John wrote: >> -----Original Message----- >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Zoltan Kiss >> Sent: Friday, September 25, 2015 1:23 AM >> To: dev@dpdk.org >> Subject: [dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer >> becomes valid >> >> + if (split_packet) { >> + rte_prefetch0(&rx_pkts[pos]->cacheline1); >> + rte_prefetch0(&rx_pkts[pos + 1]->cacheline1); >> + rte_prefetch0(&rx_pkts[pos + 2]->cacheline1); >> + rte_prefetch0(&rx_pkts[pos + 3]->cacheline1); >> + } >> + >> /* A* mask out 0~3 bits RSS type */ >> descs[3] = _mm_and_si128(descs0[3], desc_mask); >> descs[2] = _mm_and_si128(descs0[2], desc_mask); > Hi, > > This patch doesn't apply cleanly. It looks like all the tabs have been replaced with spaces. Sorry, my bad, I'll resend > > John. > >