[dpdk-dev] How to set RTE_MACHINE on DPDK 1.7.0 correctly?

Suryanathan P suryanathan at gmail.com
Wed Jul 23 19:28:22 CEST 2014


Hi,

I am trying to compile the test-pmd app on an Intel Core i7 targeted to run
on Intel Atom target.

When I run test pmd binary on the target machine, it fails to start with:

ERROR: This system does not support "AVX".
Please check that RTE_MACHINE is set correctly.

This is how I am building dpdk:

RTE_MAHCHINE=atm
export RTE_MACHINE

make install T=x86_64-native-linuxapp-gcc

Since this didn't work, I copied

cp config/defconfig_x86_64-native-linuxapp-gcc to
config/defconfig_x86_64-atm-linuxapp-gcc

and changed:

CONFIG_RTE_MACHINE="atm"

Followed by build:
make install T=x86_64-atm-linuxapp-gcc

This failed when compiling:
== Build lib/librte_pmd_ixgbe
.
.
CC ixgbe_rxtx_vec.o
In file included from
/home/sp/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:41:0:
/usr/lib/gcc/x86_64-linux-gnu/4.6/include/nmmintrin.h:31:3: error: #error
"SSE4.2 instruction set not enabled"
/home/sp/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c: In function
'ixgbe_recv_pkts_vec'

Any help is appreciated.

Thanks.
Suryanathan


More information about the dev mailing list