eal: control max SIMD bitwidth
authorCiara Power <ciara.power@intel.com>
Mon, 19 Oct 2020 13:48:41 +0000 (15:48 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 19 Oct 2020 14:45:02 +0000 (16:45 +0200)
commit580af30dd6a95f01b28e6090012b789786540674
treee950eacf7dac342ae7ac3c461d8b781000a0b76e
parent17b347dab769a3f61e00195dac2c9dfdf5d11474
eal: control max SIMD bitwidth

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.

Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
12 files changed:
doc/guides/linux_gsg/eal_args.include.rst
doc/guides/prog_guide/env_abstraction_layer.rst
doc/guides/rel_notes/release_20_11.rst
lib/librte_eal/arm/include/rte_vect.h
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_internal_cfg.h
lib/librte_eal/common/eal_options.h
lib/librte_eal/include/generic/rte_vect.h
lib/librte_eal/ppc/include/rte_vect.h
lib/librte_eal/rte_eal_exports.def
lib/librte_eal/rte_eal_version.map
lib/librte_eal/x86/include/rte_vect.h