[ovs-discuss] Fwd: Run dpdk application in a VM

Gayathri gd0204 at gmail.com
Mon Nov 9 17:53:30 UTC 2015


Hi Kevin,

Thank you for the reply. With vhost-user it was not working and vswitchd
crashed in host, aswell as guest. So was thinking if that was the right
mode to have dpdk applications working in the VM.


Regards,
Gayathri

On Mon, Nov 9, 2015 at 5:40 AM, Traynor, Kevin <kevin.traynor at intel.com>
wrote:

>
> > -----Original Message-----
> > From: discuss [mailto:discuss-bounces at openvswitch.org] On Behalf Of
> Gayathri
> > Sent: Thursday, November 5, 2015 5:01 AM
> > To: discuss at openvswitch.org
> > Subject: [ovs-discuss] Fwd: Run dpdk application in a VM
> >
> > Hi *,
> >
> > I am new to dpdk please do help me.
> >
> > My setup has a host with dpdk-ovs, with VMs connected to it. We need to
> run
> > dpdk applications on these VMs. The host dpdk is built for x86_64-native-
> > linuxapp-gcc. Please advice if we should be
> using x86_64-ivshmem-linuxapp-gcc
> > instead.
>
> Native is fine in the host. If you want to use dpdkr ports to the guest,
> then
> dpdk in the guest will have to have be built with ivshmem.
>
> Probably config will be simpler if you use vhost-user. Is there a reason
> you
> want to use dpdkr/ivshmem?
>
> >
> > Could somebody share with me the steps to
> install x86_64-ivshmem-linuxapp-gcc
> > based dpdk-ovs in the host/guest. Apart from the below two configs, are
> there
> > any more details involved plz suggest
> > export RTE_TARGET=x86_64-ivshmem-linuxapp-gcc
> > make install T=x86_64-ivshmem-linuxapp-gcc
>
> There's information in the INSTALL.DPDK.md. There was a also a patch that
> provided
> a very long and extremely detailed explanation with different alternatives
> here
> http://openvswitch.org/pipermail/dev/2015-June/056586.html
>
> >
> > Also please let me know if the hugepages in the VM could be 2M pages or
> its
> > mandatory to have 1 Gb pages.
> >
> > Thanks in advance
> > Regards,
> > Gayathri
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151109/5e190ae5/attachment-0002.html>


More information about the discuss mailing list