* [dpdk-dev] ixgbe vPMD question
@ 2015-09-17 20:28 Zoltan Kiss
2015-09-18 16:20 ` Bruce Richardson
0 siblings, 1 reply; 2+ messages in thread
From: Zoltan Kiss @ 2015-09-17 20:28 UTC (permalink / raw)
To: dev, konstantin.ananyev, Richardson, Bruce
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] ixgbe vPMD question
2015-09-17 20:28 [dpdk-dev] ixgbe vPMD question Zoltan Kiss
@ 2015-09-18 16:20 ` Bruce Richardson
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Richardson @ 2015-09-18 16:20 UTC (permalink / raw)
To: Zoltan Kiss; +Cc: dev
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 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-18 16:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-17 20:28 [dpdk-dev] ixgbe vPMD question Zoltan Kiss
2015-09-18 16:20 ` Bruce Richardson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).