From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] ixgbe: use rte_mbuf_prefetch_part2 for cacheline1 access Date: Fri, 24 Jun 2016 12:04:26 +0100 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 Cc: Jerin Jacob , dev@dpdk.org, Thomas Monjalon , "Zhang, Helin" , "Ananyev, Konstantin" To: Jianbo Liu 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) Content-Disposition: inline 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 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