[dpdk-dev] [PATCH v4 1/2] net/ixgbe: calculate the correct number of received packets in bulk alloc function

Ferruh Yigit ferruh.yigit at intel.com
Thu Feb 9 13:42:05 CET 2017


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 <jianbo.liu at linaro.org>
> 
>     net/ixgbe: fix received packets number for ARM NEON
> 
>     Fixes: b20971b6cca0 ("net/ixgbe: implement vector driver for ARM")
>     Cc: stable at dpdk.org
> 
>     Signed-off-by: Jianbo Liu <jianbo.liu at linaro.org>
>     Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

Correction:
    net/ixgbe: fix received packets number for ARM

    Fixes: 7431041062b9 ("ixgbe: allow rx bulk alloc")
    Cc: stable at dpdk.org

    Signed-off-by: Jianbo Liu <jianbo.liu at linaro.org>
    Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

> 
> 
> Applied to dpdk-next-net/master, thanks.
> 



More information about the dev mailing list