DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Issue in installing DPDK on VM
@ 2016-02-18  9:52 Mitali Yadav
  2016-02-18 11:18 ` hou guanghua
  0 siblings, 1 reply; 2+ messages in thread
From: Mitali Yadav @ 2016-02-18  9:52 UTC (permalink / raw)
  To: users

Hi,

We are installing dpdk2.2.0 on a VM having linux kernel 3.13.0-77 and we
are getting the following error.
-------------------------------------------------------------------------------------------------------------------------------------------------------
In file included from
/home/vm1/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_pci.c:42:0:
/home/vm1/dpdk-2.2.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
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_common.h:289:0,
                 from
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_memory.h:55,
                 from
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_eal_memconfig.h:38,
                 from
/home/vm1/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_pci.c:39:
/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
/home/vm1/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_pci.c:42:0:
/home/vm1/dpdk-2.2.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
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_common.h:289:0,
                 from
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_memory.h:55,
                 from
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_eal_memconfig.h:38,
                 from
/home/vm1/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_pci.c:39:
/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)

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

When we searched online, we got similar issue in
http://rumpkernel-users.narkive.com/qJxwkczX/rump-kernel-for-dpdk.
They mentioned setting the CPU flags ssse3, avx and aes to resolve this
issue. These flags are enabled on the physical machine but not on the VM
even though they both have the same kernel and OS (ubuntu14.04). We have
used virt-manager with kvm-qemu as the hypervisor to host the VM. How can
we enable these flags in the VM. Or are we missing out on some other
parameter that need to be set?

Thanks,
Mitali

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] Issue in installing DPDK on VM
  2016-02-18  9:52 [dpdk-users] Issue in installing DPDK on VM Mitali Yadav
@ 2016-02-18 11:18 ` hou guanghua
  0 siblings, 0 replies; 2+ messages in thread
From: hou guanghua @ 2016-02-18 11:18 UTC (permalink / raw)
  To: Mitali Yadav, users


I had met the same problem with your before. In the GUI dialog (after run virt-manager), you can set the attributes of cpu, such as sse4_1,sse4_2. 
BTW, KVM is used in my enviroment.

Regards,
Guanghua

________________________________________
发件人: users [users-bounces@dpdk.org] 代表 Mitali Yadav [yadavmitali1991@gmail.com]
发送时间: 2016年2月18日 9:52
收件人: users@dpdk.org
主题: [dpdk-users] Issue in installing DPDK on VM

Hi,

We are installing dpdk2.2.0 on a VM having linux kernel 3.13.0-77 and we
are getting the following error.
-------------------------------------------------------------------------------------------------------------------------------------------------------
In file included from
/home/vm1/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_pci.c:42:0:
/home/vm1/dpdk-2.2.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
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_common.h:289:0,
                 from
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_memory.h:55,
                 from
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_eal_memconfig.h:38,
                 from
/home/vm1/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_pci.c:39:
/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
/home/vm1/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_pci.c:42:0:
/home/vm1/dpdk-2.2.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
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_common.h:289:0,
                 from
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_memory.h:55,
                 from
/home/vm1/dpdk-2.2.0/x86_64-native-linuxapp-gcc/include/rte_eal_memconfig.h:38,
                 from
/home/vm1/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_pci.c:39:
/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)

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

When we searched online, we got similar issue in
http://rumpkernel-users.narkive.com/qJxwkczX/rump-kernel-for-dpdk.
They mentioned setting the CPU flags ssse3, avx and aes to resolve this
issue. These flags are enabled on the physical machine but not on the VM
even though they both have the same kernel and OS (ubuntu14.04). We have
used virt-manager with kvm-qemu as the hypervisor to host the VM. How can
we enable these flags in the VM. Or are we missing out on some other
parameter that need to be set?

Thanks,
Mitali

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-18 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-18  9:52 [dpdk-users] Issue in installing DPDK on VM Mitali Yadav
2016-02-18 11:18 ` hou guanghua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).