From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 27708F957; Thu, 9 Feb 2017 13:43:12 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP; 09 Feb 2017 04:43:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,349,1484035200"; d="scan'208";a="223232728" 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:43:10 -0800 To: Jianbo Liu , dev@dpdk.org, helin.zhang@intel.com, 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> <1486613126-30409-2-git-send-email-jianbo.liu@linaro.org> From: Ferruh Yigit Message-ID: Date: Thu, 9 Feb 2017 12:43:09 +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: <1486613126-30409-2-git-send-email-jianbo.liu@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v4 2/2] net/ixgbe: calculate correct number of received packets for ARM NEON-version vPMD X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 12:43:13 -0000 On 2/9/2017 4:05 AM, Jianbo Liu wrote: > vPMD will check 4 descs in one time, but the statuses are not consistent > because the memory allocated for RX descriptors is cacheable huagepage. > This patch is to calculate the number of received packets by scann 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 Applied to dpdk-next-net/master, thanks.