[dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer becomes valid

2015-09-25 Thread Bruce Richardson
On Thu, Sep 24, 2015 at 05:23:26PM -0700, Zoltan Kiss wrote: > At the original point the rx_pkts[pos( + n)] pointers are not initialized, so > the code is prefetching random data. > > Signed-off-by: Zoltan Kiss > Apart from the whitespace issues pointed out by John, this fix looks ok and testin

[dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer becomes valid

2015-09-25 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zoltan Kiss > Sent: Friday, September 25, 2015 1:23 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer > becomes valid > > +

[dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer becomes valid

2015-09-25 Thread Zoltan Kiss
On 25/09/15 04:47, Mcnamara, John wrote: >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zoltan Kiss >> Sent: Friday, September 25, 2015 1:23 AM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH] ixgbe: prefetch cacheline

[dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer becomes valid

2015-09-24 Thread Zoltan Kiss
At the original point the rx_pkts[pos( + n)] pointers are not initialized, so the code is prefetching random data. Signed-off-by: Zoltan Kiss diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec.c b/drivers/net/ixgbe/ixgbe_rxtx_vec.c index 3c6d8c5..ccd93c7 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx_vec