[dpdk-dev] [PATCH] AVX check
Bruce Richardson
bruce.richardson at intel.com
Thu Apr 26 18:34:38 CEST 2018
On Thu, Apr 26, 2018 at 06:06:47PM +0200, Riccardo Ravaioli wrote:
> Hi all,
>
> I need to install DPDK on 64-bit Linux machines whose processors might or
> might not support AVX instructions. In my current configuration file,
> defconfig_x86-64-native-linuxapp-gcc, the parameter CONFIG_RTE_MACHINE is
> set to native. If I compile DPDK on a machine that supports AVX and then I
> install it (along with openvswitch) on a machine that does *not* support
> AVX, openvswitch won't start and will output an "illegal instruction"
> error.
>
> I'm proposing the following patch to fix this issue:
>
Hi,
rather than changing the code, the best way to handle this is to change the
build target to something other than "native" in the build config file. I
would suggest "nehalem" as a suitable MACHINE type value. This provides
SSE4.x support, but no AVX.
/Bruce
More information about the dev
mailing list