Skip to contentSkip to conversation

reg: dpdk on virtual machine

DISCUSSION Anand Angadi 3 participants 4 messages Nov 24, 2014 – Nov 25, 2014 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi friends,
I wanted to know how to install dpdk on virtual machine and how to get virtual intel dpdk NIC card(virthal hardware) in virtual machine if anybody know about it please reply me.

Regards...
Anand

#1 lore raw
Quoted 4 lines · Anand Angadi

Hi friends,
I wanted to know how to install dpdk on virtual machine and how to get virtual intel dpdk NIC card(virthal hardware)
in virtual machine if anybody know about it please reply me.

I think there is no difference if your VM is KVM based(Others like Xen or vmware I do not know).

For virtual NIC, you can add one intel NIC in your VM hardware config(pass through or emulation mode)

Thanks,
Michael

Quoted 5 lines

Regards...
Anand

#3 lore raw
In reply to a message not in the archive

We have tested DPDK inside VM in two different ways:
- Using virtual interface. Thus we were able to develop DPDK apps on any machine.
- Using PCI pass-through. Thus we were able to achieve maximum speed on DPDK-enabled NIC.

Please check the following blog posts.
DPDK bring-up in VM using virtual interface
<http://plvision.eu/blog/deploying-intel-dpdk-in-oracle-virtualbox/>
Setup PCI passthrough for DPDK NIC
<https://haryachyy.wordpress.com/2014/11/09/learning-dpdk-l2-forwarding-app-in-vm/>

Regards,
Denys.

Quoted 21 lines · Michael
Quoted 4 lines · Anand Angadi

Hi friends,
I wanted to know how to install dpdk on virtual machine and how to get virtual intel dpdk NIC card(virthal hardware)
in virtual machine if anybody know about it please reply me.

I think there is no difference if your VM is KVM based(Others like Xen or vmware I do not know).

For virtual NIC, you can add one intel NIC in your VM hardware config(pass through or emulation mode)

Thanks,
Michael

Quoted 5 lines

Regards...
Anand

#5 lore raw
In reply to a message not in the archive
Quoted 9 lines · Anand Angadi
Quoted 8 lines · Michael
Quoted 4 lines · Anand Angadi

Hi friends,
I wanted to know how to install dpdk on virtual machine and how to get virtual intel dpdk NIC card(virthal hardware)
in virtual machine if anybody know about it please reply me.

I think there is no difference if your VM is KVM based(Others like Xen or vmware I do not know).

Quoted 7 lines
Quoted 2 lines

For virtual NIC, you can add one intel NIC in your VM hardware config(pass through or emulation mode)

Hi Michael,
Thank you for replying, I am new for creating virtual machine can you tell me how to add this
intel NIC in my VM hardware config, means is there any procedure or steps to do it, if it's there

You can use virt-manager for a simple start :)

Or you can also use command line like virsh command or qemu command, but it is much complex for new user :)

Thanks,
Michael

Quoted 13 lines

please let me know.

Regards..
Anand

Quoted 7 lines

Thanks,
Michael

Quoted 4 lines

Regards...
Anand