summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorZhihong Wang <zhihong.wang@intel.com>2017-04-27 19:00:14 -0400
committerThomas Monjalon <thomas@monjalon.net>2017-04-30 23:17:53 +0200
commit1838af33997daa7a2093e3aa7bf95a2d0c9578bf (patch)
tree20e2ed8dce3aca4f2894f05c36e90007f58e611c /config
parent852572d5db26d1d7d9021648740d9f2e0c4503c1 (diff)
downloaddpdk-1838af33997daa7a2093e3aa7bf95a2d0c9578bf.zip
dpdk-1838af33997daa7a2093e3aa7bf95a2d0c9578bf.tar.gz
dpdk-1838af33997daa7a2093e3aa7bf95a2d0c9578bf.tar.xz
config: make AVX and AVX512 configurable
Making AVX and AVX512 configurable is useful for performance and power testing. The similar kernel patch at https://patchwork.kernel.org/patch/9618883/. AVX512 support like in rte_memcpy has been in DPDK since 16.04, but it's still unproven in rich use cases in hardware. Therefore it's marked as experimental for now, will enable it after enough field test and possible optimization. Signed-off-by: Zhihong Wang <zhihong.wang@intel.com> Reviewed-by: Zhiyong Yang <zhiyong.yang@intel.com> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/common_base b/config/common_base
index 0b4297c..93e9235 100644
--- a/config/common_base
+++ b/config/common_base
@@ -103,6 +103,14 @@ CONFIG_RTE_EAL_IGB_UIO=n
CONFIG_RTE_EAL_VFIO=n
CONFIG_RTE_MALLOC_DEBUG=n
+#
+# Recognize/ignore the AVX/AVX512 CPU flags for performance/power testing.
+# AVX512 is marked as experimental for now, will enable it after enough
+# field test and possible optimization.
+#
+CONFIG_RTE_ENABLE_AVX=y
+CONFIG_RTE_ENABLE_AVX512=n
+
# Default driver path (or "" to disable)
CONFIG_RTE_EAL_PMD_PATH=""