> yes that part works, but for communication to work between the guest and > host OVS has to use 2 queues as well, which currently does not work. > So how does one set multiple queues for vhostuser in OVS 2.5.0 or below? > Im not talking about libvirt or qemu regarding the above question, but OVS.
Hi Felix, As we've mentioned before, you need to use the following command: ovs-vsctl set Open_vSwitch . other_config:n-dpdk-rxqs=2 ... to assign two rx queues to the vhost-user ports in OVS. This is clearly stated in INSTALL.DPDK.md on the 2.5 branch. I suspect you were previously looking at the latest INSTALL guide which pointed you to use the n_rxq option, which is not available on the older branch-2.5. Essentially, if your bridge has two vhost-user ports eg. vhost-user-0 and vhost-user-1, the effect of ' ovs-vsctl set Open_vSwitch . other_config:n-dpdk-rxqs=2' is the same as ovs-vsctl set Interface vhost-user-0 options:n_rxq=2 ovs-vsctl set Interface vhost-user-1 options:n_rxq=2 On branch-2.5, you need to use the former command. Thanks, Ciara > > Grüße > Felix > > Von: Christian Ehrhardt [mailto:christian.ehrha...@canonical.com] > Gesendet: Montag, 4. April 2016 17:35 > An: Felix Brucker <fbruc...@xantaro.net> > Cc: Daniele Di Proietto <diproiet...@vmware.com>; Loftus, Ciara > <ciara.lof...@intel.com>; discuss@openvswitch.org > Betreff: Re: [ovs-discuss] [OVS-DPDK] vhost-user with multiple queues does > not work > > Hi Felix, > here you already do the right thing: > > <interface type='vhostuser'> > [...] > <driver queues='2'/> > > Given you have the recent libvirt and qemu versions that translates to the > right qemu parameters as you have seen in my initial posts. > > You can then log into the guest and check with "ethtool -l" if the guest > really > "sees" its multiple queues (also shown in my first mail that this fails for > me) > > Kind Regards, > Christian _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss