> > 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.w...@arm.com> > Cc: Jerin Jacob <jer...@marvell.com> > Cc: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> > Cc: David Christensen <d...@linux.vnet.ibm.com> > > Signed-off-by: Ciara Power <ciara.po...@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.anan...@intel.com> > 2.22.0