From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 491BDF923; Thu, 9 Feb 2017 13:42:08 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP; 09 Feb 2017 04:42:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,349,1484035200"; d="scan'208";a="223232521" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.252.5.22]) ([10.252.5.22]) by fmsmga004.fm.intel.com with ESMTP; 09 Feb 2017 04:42:06 -0800 To: Jianbo Liu , dev@dpdk.org, "Zhang, Helin" , konstantin.ananyev@intel.com, jerin.jacob@caviumnetworks.com, dpdk stable References: <1482127758-4904-1-git-send-email-jianbo.liu@linaro.org> <1486613126-30409-1-git-send-email-jianbo.liu@linaro.org> From: Ferruh Yigit Message-ID: <6c548fbc-ff6c-adb7-8959-71fab15e2d5c@intel.com> Date: Thu, 9 Feb 2017 12:42:05 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4 1/2] net/ixgbe: calculate the correct number of received packets in bulk alloc function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 12:42:09 -0000 On 2/9/2017 12:39 PM, Ferruh Yigit wrote: > On 2/9/2017 4:05 AM, Jianbo Liu wrote: >> To get better performance, Rx bulk alloc recv function will scan 8 descs >> in one time, but the statuses are not consistent on ARM platform because >> the memory allocated for Rx descriptors is cacheable hugepages. >> This patch is to calculate the number of received packets by scan DD bit >> sequentially, and stops when meeting the first packet with DD bit unset. >> >> Signed-off-by: Jianbo Liu > > net/ixgbe: fix received packets number for ARM NEON > > Fixes: b20971b6cca0 ("net/ixgbe: implement vector driver for ARM") > Cc: stable@dpdk.org > > Signed-off-by: Jianbo Liu > Acked-by: Konstantin Ananyev Correction: net/ixgbe: fix received packets number for ARM Fixes: 7431041062b9 ("ixgbe: allow rx bulk alloc") Cc: stable@dpdk.org Signed-off-by: Jianbo Liu Acked-by: Konstantin Ananyev > > > Applied to dpdk-next-net/master, thanks. >