[ovs-discuss] virtio pmd dpdk queues set up.

Daniele Di Proietto diproiettod at ovn.org
Wed Apr 6 20:57:43 UTC 2016


Hi David,

This will likely be the same issue reported in this discussion:

http://openvswitch.org/pipermail/discuss/2016-March/020551.html

The issue is fixed in DPDK, in the commit 9a0615af7746("virtio: fix restart")


2016-04-06 13:17 GMT-07:00 David Evans <davidjoshuaevans at gmail.com>:
> Hi openvswitch,
>
> I am trying to set up ovs inside a vm for some special functions. I am also
> using dpdk.
> i get a seg fault at
>
> nb_used = VIRTQUEUE_NUSED(rxvq);
>
> in virtio_recv_mergeable_pkts. because the vq ring is not initialized.
> from gdb :
>  vq_ring = {num = 0, desc = 0x0, avail = 0x0, used = 0x0},
>
> What's going on here? What would make vq_ring's not be set up?
>
> I followed the instructions regarding VM setup for kvm by editing the xml
> file for the guest.
>
> `<driver name='vhost' queues='2'/>`  as required.
>
> Is there anything else i need to have done? Maybe i am missing something
> essential on the Hypervisor side.
>
> Regards
>
> Dave.
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>



More information about the discuss mailing list