DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] DPDK application fails to start in KVM
@ 2020-08-25 17:02 Jatin Sahu
  2020-08-25 17:25 ` David Christensen
  0 siblings, 1 reply; 2+ messages in thread
From: Jatin Sahu @ 2020-08-25 17:02 UTC (permalink / raw)
  To: users; +Cc: jatin.sahu, chandrika.gautam

Hi,

I was using the DPDK library in a VM environment. But during the
application startup, the RTE initialization fails with the following error.

Is there any limitation of using DPDK libraries with KVM.

VM Details:
[roamware@roamware ~]$ hostnamectl
   Static hostname: localhost.localdomain
Transient hostname: roamware.com
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 1ef1544480eb44a89d5b1f9eb8a8832f
           Boot ID: 282f8207b643405a89d13ea6d896745c
    Virtualization: kvm
  Operating System: Red Hat Enterprise Linux Server 7.2 (Maipo)
       CPE OS Name: cpe:/o:redhat:enterprise_linux:7.2:GA:server
            Kernel: Linux 3.10.0-327.el7.x86_64
      Architecture: x86-64

Error details:
ERROR: This system does not support "RDRAND".
Please check that RTE_MACHINE is set correctly.
EAL: FATAL: unsupported cpu type.
EAL: unsupported cpu type.

Regards,
Jatin

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

* Re: [dpdk-users] DPDK application fails to start in KVM
  2020-08-25 17:02 [dpdk-users] DPDK application fails to start in KVM Jatin Sahu
@ 2020-08-25 17:25 ` David Christensen
  0 siblings, 0 replies; 2+ messages in thread
From: David Christensen @ 2020-08-25 17:25 UTC (permalink / raw)
  To: users

On 8/25/20 10:02 AM, Jatin Sahu wrote:
> Error details:
> ERROR: This system does not support "RDRAND".
> Please check that RTE_MACHINE is set correctly.
> EAL: FATAL: unsupported cpu type.
> EAL: unsupported cpu type.

RDRAND is an x86 CPU instruction (https://en.wikipedia.org/wiki/RDRAND).
Your problem is likely related to the CPU type you selected for your VM. 
Try running "lscpu | grep rdrand" in your VM.  On my VM with "Common KVM 
processor" the RDRAND flag is not available.

Dave

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25 17:02 [dpdk-users] DPDK application fails to start in KVM Jatin Sahu
2020-08-25 17:25 ` David Christensen

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox