[dpdk-dev] ixgbe vPMD question

2015-09-18 Thread Bruce Richardson
On Thu, Sep 17, 2015 at 09:28:31PM +0100, Zoltan Kiss wrote: > Hi, > > The recv function does a prefetch on cacheline1, however it seems to me that > rx_pkts[pos] should be uninitialized pointer at that time: > > http://dpdk.org/browse/dpdk/tree/drivers/net/ixgbe/ixgbe_rxtx_vec.c#n287 > > So I g

[dpdk-dev] ixgbe vPMD question

2015-09-17 Thread Zoltan Kiss
Hi, The recv function does a prefetch on cacheline1, however it seems to me that rx_pkts[pos] should be uninitialized pointer at that time: http://dpdk.org/browse/dpdk/tree/drivers/net/ixgbe/ixgbe_rxtx_vec.c#n287 So I guess it prefetches only random value. Or am I missing something? Regards,