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. On Tue, Nov 25, 2014 at 3:45 AM, Qiu, Michael <michael.qiu at intel.com> wrote: > On 11/24/2014 7:24 PM, Anand Angadi wrote: > > 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 > > > > Regards... > > Anand > > > > > >