[dpdk-dev] [PATCH v5 01/17] eal: add max SIMD bitwidth

Ananyev, Konstantin konstantin.ananyev at intel.com
Tue Oct 13 13:58:27 CEST 2020


> 
> This patch adds a max SIMD bitwidth EAL configuration. The API allows
> for an app to set this value. It can also be set using EAL argument
> --force-max-simd-bitwidth, which will lock the value and override any
> modifications made by the app.
> 
> Each arch has a define for the default SIMD bitwidth value, this is used
> on EAL init to set the config max SIMD bitwidth.
> 
> Cc: Ruifeng Wang <ruifeng.wang at arm.com>
> Cc: Jerin Jacob <jerinj at marvell.com>
> Cc: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Cc: David Christensen <drc at linux.vnet.ibm.com>
> 
> Signed-off-by: Ciara Power <ciara.power at intel.com>
> 
> ---
> v4:
>   - Used RTE_SIMD_MAX instead of UINT16_MAX.
>   - Renamed enums to better reflect usage.
>   - Added functions to windows symbol export file.
>   - Modified Doxygen comments.
>   - Modified enum name.
>   - Changed RTE_SIMD_MAX value to a power of 2.
>   - Merged patch 2 into this patch.
>   - Enum now used for default value defines.
>   - Fixed some small comments on v3.
> v3:
>   - Added enum value to essentially disable using max SIMD to choose
>     paths, intended for use by ARM SVE.
>   - Fixed parsing bitwidth argument to return an error for values
>     greater than uint16_t.
>   - Removed unnecessary define in generic rte_vect.h
>   - Changed default bitwidth for ARM to UINT16_MAX, to allow for SVE.
> v2:
>   - Added to Doxygen comment for API.
>   - Changed default bitwidth for Arm to 128.
> ---

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

> 2.22.0



More information about the dev mailing list