From 6d04eb4c97cf95562f55b283e5b835dbcdeba78d Mon Sep 17 00:00:00 2001 From: Jerin Jacob Date: Fri, 17 Jun 2016 19:36:44 +0530 Subject: [PATCH] net/ixgbe: use mbuf prefetch function made second cache line access behavior same as IA Signed-off-by: Jerin Jacob Reviewed-by: Jianbo Liu --- 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 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 */ -- 2.20.1