DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Running DPDK in a VM
@ 2016-08-04 10:21 Vaibhav Sood
  2016-08-10  5:19 ` Pankaj Chauhan
  0 siblings, 1 reply; 2+ messages in thread
From: Vaibhav Sood @ 2016-08-04 10:21 UTC (permalink / raw)
  To: dev

Hi!

I am looking at running DPDK in a VM, I would like to know if there are any limitations when doing this in terms of any DPDK features that do not work in a VM

The only post I came across for running DPDK in a VM is this: http://dpdk.org/ml/archives/dev/2013-September/000441.html

As an example, I tried to run the DPDK test suite (DTS, http://dpdk.org/doc/dts/gsg/ ) and see some tests fail saying virtio nics are not supported (Specifically, the ethertype_filter and five_tuple_filter tests give an error: FAILED ''virtio nic not support syn filter''). I would like to know if there are any limitations along these lines when running DPDK in VMs as compared to physical machines/NICS

Thanks!
Vaibhav


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

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

* Re: [dpdk-dev] Running DPDK in a VM
  2016-08-04 10:21 [dpdk-dev] Running DPDK in a VM Vaibhav Sood
@ 2016-08-10  5:19 ` Pankaj Chauhan
  0 siblings, 0 replies; 2+ messages in thread
From: Pankaj Chauhan @ 2016-08-10  5:19 UTC (permalink / raw)
  To: Vaibhav Sood, dev

On 8/4/2016 3:51 PM, Vaibhav Sood wrote:
Hi,

> Hi!
>
> I am looking at running DPDK in a VM, I would like to know if there are any limitations when doing this in terms of any DPDK features that do not work in a VM
>

We do run DPDK in VM, and we have not come across any major limitations. 
There are multiple ways to run DPDK in virtual machine, if you are using 
virtio devices:

1. vhost-switch : please refer following link:

http://dpdk.readthedocs.io/en/v16.04/sample_app_ug/vhost.html

2. you can use OVS also as backend instead of vhost-switch.

we've used both methods on our platforms and they work fine.

> The only post I came across for running DPDK in a VM is this: http://dpdk.org/ml/archives/dev/2013-September/000441.html
>
> As an example, I tried to run the DPDK test suite (DTS, http://dpdk.org/doc/dts/gsg/ ) and see some tests fail saying virtio nics are not supported (Specifically, the ethertype_filter and five_tuple_filter tests give an error: FAILED ''virtio nic not support syn filter''). I would like to know if there are any limitations along these lines when running DPDK in VMs as compared to physical machines/NICS
>
> Thanks!
> Vaibhav
>

Thanks,
Pankaj

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

end of thread, other threads:[~2016-08-10  5:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-04 10:21 [dpdk-dev] Running DPDK in a VM Vaibhav Sood
2016-08-10  5:19 ` Pankaj Chauhan

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).