From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 5B239C514 for ; Fri, 24 Jun 2016 13:04:31 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 24 Jun 2016 04:04:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,520,1459839600"; d="scan'208";a="724419144" Received: from singalsu-mobl4.ger.corp.intel.com ([10.252.31.226]) by FMSMGA003.fm.intel.com with SMTP; 24 Jun 2016 04:04:27 -0700 Received: by (sSMTP sendmail emulation); Fri, 24 Jun 2016 12:04:26 +0025 Date: Fri, 24 Jun 2016 12:04:26 +0100 From: Bruce Richardson To: Jianbo Liu Cc: Jerin Jacob , dev@dpdk.org, Thomas Monjalon , "Zhang, Helin" , "Ananyev, Konstantin" Message-ID: <20160624110426.GG13456@bricha3-MOBL3> References: <1466172404-14120-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH] ixgbe: use rte_mbuf_prefetch_part2 for cacheline1 access 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: Fri, 24 Jun 2016 11:04:31 -0000 On Mon, Jun 20, 2016 at 11:19:19AM +0800, Jianbo Liu wrote: > On 17 June 2016 at 22:06, Jerin Jacob wrote: > > made second cache line access behavior same as IA > > > > Signed-off-by: Jerin Jacob > > --- > > drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 8 ++++---- > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c b/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c > > index 9c1d124..64a329e 100644 > > --- a/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c > > +++ b/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c > > @@ -280,10 +280,10 @@ _recv_raw_pkts_vec(struct ixgbe_rx_queue *rxq, struct rte_mbuf **rx_pkts, > > vst1q_u64((uint64_t *)&rx_pkts[pos + 2], mbp2); > > > > if (split_packet) { > > - rte_prefetch_non_temporal(&rx_pkts[pos]->cacheline1); > > - rte_prefetch_non_temporal(&rx_pkts[pos + 1]->cacheline1); > > - rte_prefetch_non_temporal(&rx_pkts[pos + 2]->cacheline1); > > - rte_prefetch_non_temporal(&rx_pkts[pos + 3]->cacheline1); > > + rte_mbuf_prefetch_part2(rx_pkts[pos]); > > + rte_mbuf_prefetch_part2(rx_pkts[pos + 1]); > > + rte_mbuf_prefetch_part2(rx_pkts[pos + 2]); > > + rte_mbuf_prefetch_part2(rx_pkts[pos + 3]); > > } > > > > /* D.1 pkt 3,4 convert format from desc to pktmbuf */ > > -- > > 2.5.5 > > > > Reviewed-by: Jianbo Liu Applied to dpdk-next-net/rel_16_07 /Bruce