From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v4 1/2] net/ixgbe: calculate the correct number of received packets in bulk alloc function Date: Thu, 9 Feb 2017 12:39:17 +0000 Message-ID: References: <1482127758-4904-1-git-send-email-jianbo.liu@linaro.org> <1486613126-30409-1-git-send-email-jianbo.liu@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: Jianbo Liu , dev@dpdk.org, "Zhang, Helin" , konstantin.ananyev@intel.com, jerin.jacob@caviumnetworks.com, dpdk stable Return-path: In-Reply-To: <1486613126-30409-1-git-send-email-jianbo.liu@linaro.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Applied to dpdk-next-net/master, thanks.