From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 18 Sep 2015 09:20:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,553,1437462000"; d="scan'208";a="771969983" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.208.62]) by orsmga001.jf.intel.com with SMTP; 18 Sep 2015 09:20:53 -0700 Received: by (sSMTP sendmail emulation); Fri, 18 Sep 2015 17:20:51 +0025 Date: Fri, 18 Sep 2015 17:20:51 +0100 From: Bruce Richardson To: Zoltan Kiss Message-ID: <20150918162051.GA17216@bricha3-MOBL3> References: <55FB226F.2040707@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55FB226F.2040707@linaro.org> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] ixgbe vPMD question X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2015 16:21:14 -0000 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