Dear all,

I follow the instructions of this page
https://github.com/rumpkernel/wiki/wiki/Repo:-drv-netif-dpdk, when i
execute buildme.sh, there are some errors like this:
In file included from
/root/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_ether.h:50:0,
                 from dpdkif_user.c:47:
/root/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:625:2:
error: incompatible type for argument 2 of '_mm_storeu_si128'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from
/root/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_common.h:266:0,
                 from dpdkif_user.c:43:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:700:1: note: expected
'__m128i' but argument is of type 'int'
 _mm_storeu_si128 (__m128i *__P, __m128i __B)
 ^
In file included from
/root/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_ether.h:50:0,
                 from dpdkif_user.c:47:
/root/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:625:2:
error: incompatible type for argument 2 of '_mm_storeu_si128'
  MOVEUNALIGNED_LEFT47(dst, src, n, srcofs);
  ^
In file included from
/root/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_common.h:266:0,
                 from dpdkif_user.c:43:
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/emmintrin.h:700:1: note: expected
'__m128i' but argument is of type 'int'
 _mm_storeu_si128 (__m128i *__P, __m128i __B)

The error happens because the cpu does not support ssse3, because dpdk need
some cpu flags enabled, such as ssse3, avx,aes, how to enable this flags in
rump kernl?

BR
Juno



BR
Juno

Reply via email to