[ovs-git] [openvswitch/ovs] e099c8: netdev-dpdk: vhost: Fix txq enabling in the absenc...

GitHub noreply at github.com
Tue Mar 29 20:49:31 UTC 2016

  Branch: refs/heads/branch-2.5
  Home:   https://github.com/openvswitch/ovs
  Commit: e099c86ca432d1daeaf8edb66225e7edf061c0b0
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2016-03-29 (Tue, 29 Mar 2016)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  netdev-dpdk: vhost: Fix txq enabling in the absence of notifications.

According to QEMU documentation (docs/specs/vhost-user.txt) one queue
should be enabled initially. More queues are enabled dynamically, by

Currently all queues in OVS disabled by default. This breaks above
specification. So, queue #0 should be enabled by default to support
QEMU versions less than 2.5 and fix probable issues if QEMU will not
send VHOST_USER_SET_VRING_ENABLE for queue #0 according to documentation.
Also this will fix currently broken vhost-cuse support in OVS.

Fixes: 585a5beaa2a4 ("netdev-dpdk: vhost-user: Fix sending packets to
                queues not enabled by guest.")
Reported-by: Mauricio Vasquez B <mauricio.vasquezbernal at studenti.polito.it>
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>

More information about the git mailing list