From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: ixgbe vPMD question Date: Fri, 18 Sep 2015 17:20:51 +0100 Message-ID: <20150918162051.GA17216@bricha3-MOBL3> References: <55FB226F.2040707@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Zoltan Kiss Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 62314282 for ; Fri, 18 Sep 2015 18:21:13 +0200 (CEST) Content-Disposition: inline In-Reply-To: <55FB226F.2040707@linaro.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "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