From: Jerin Jacob Date: Fri, 17 Jun 2016 14:06:44 +0000 (+0530) Subject: net/ixgbe: use mbuf prefetch function X-Git-Tag: spdx-start~6414 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6d04eb4c97cf95562f55b283e5b835dbcdeba78d;p=dpdk.git net/ixgbe: use mbuf prefetch function made second cache line access behavior same as IA Signed-off-by: Jerin Jacob Reviewed-by: Jianbo Liu --- diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c b/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c index 9c1d1243fe..64a329ea12 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 */