forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 585a5be ("netdev-dpdk: vhost-user: Fix sending packets to queues not enabled by guest.") Reported-by: Mauricio Vasquez B <[email protected]> Signed-off-by: Ilya Maximets <[email protected]> Acked-by: Flavio Leitner <[email protected]> Acked-by: Daniele Di Proietto <[email protected]>
- Loading branch information
1 parent
9105965
commit f3ea2ad
Showing
1 changed file
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters