numam-dpdk/lib/librte_eal
Bruce Richardson e8a83681f4 eal/x86: fix memcpy AVX-512 enablement
When testing on some x86 platforms, code compiled with meson was observed
running at a different power-license level to that compiled with make. This
is due to the fact that meson auto-detects the instruction sets available
on the system and enabled AVX512 rte_memcpy when AVX512 was available,
while on make, a build time AVX-512 flag needed to be explicitly set to
enable that AVX512 rte_memcpy code path.

In the absence of runtime path selection for rte_memcpy - which is
complicated by it being a static inline function in a header file - we can
fix this behaviour regression by similarly having a build-time option which
must be set to enable the AVX-512 memcpy path.

Fixes: a25a650be5 ("build: add infrastructure for meson and ninja builds")
Fixes: 3e1bb55fd6 ("build/x86: add SSE flags")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Yingya Han <yingyax.han@intel.com>
2020-10-17 12:22:01 +02:00
..
arm eal: add cache line demotion API 2020-10-16 14:11:45 +02:00
common eal: simplify exit functions 2020-10-15 22:33:47 +02:00
freebsd eal: use C11 atomics for initialization check 2020-09-25 15:36:17 +02:00
include eal/x86: fix memcpy AVX-512 enablement 2020-10-17 12:22:01 +02:00
linux mem: fix allocation failure on non-NUMA kernel 2020-10-13 14:02:18 +02:00
ppc eal: add cache line demotion API 2020-10-16 14:11:45 +02:00
unix timer: move from common to Unix directory 2020-06-23 18:33:20 +02:00
windows eal/windows: add pthread mutex 2020-10-16 00:44:58 +02:00
x86 eal/x86: fix memcpy AVX-512 enablement 2020-10-17 12:22:01 +02:00
meson.build eal/windows: use bundled getopt with MinGW 2020-10-05 09:12:24 +02:00
rte_eal_exports.def eal/windows: fix symbol export 2020-10-16 14:01:37 +02:00
rte_eal_version.map eal: simplify exit functions 2020-10-15 22:33:47 +02:00