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

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


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: f3ea2ad27fd076735fdb78286980749bb12fe1ce
      https://github.com/openvswitch/ovs/commit/f3ea2ad27fd076735fdb78286980749bb12fe1ce
  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
sending message VHOST_USER_SET_VRING_ENABLE.

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