ixgbe vPMD question
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,
Zoltan
Quoted 7 lines · 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
Quoted 7 lines
So I guess it prefetches only random value. Or am I missing something?
Regards,
Zoltan
From a look at the code, you may indeed by right here. We'll see about fixing
that up in a future patch.
/Bruce