From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: vhost + multiqueue + RSS question. Date: Sun, 16 Nov 2014 18:18:18 +0200 Message-ID: <20141116161818.GD7589@cloudius-systems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: mst@redhat.com Return-path: Received: from mail-wg0-f50.google.com ([74.125.82.50]:37967 "EHLO mail-wg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755217AbaKPQSX (ORCPT ); Sun, 16 Nov 2014 11:18:23 -0500 Received: by mail-wg0-f50.google.com with SMTP id k14so4965659wgh.9 for ; Sun, 16 Nov 2014 08:18:22 -0800 (PST) Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Hi Michael, I am playing with vhost multiqueue capability and have a question about vhost multiqueue and RSS (receive side steering). My setup has Mellanox ConnectX-3 NIC which supports multiqueue and RSS. Network related parameters for qemu are: -netdev tap,id=hn0,script=qemu-ifup.sh,vhost=on,queues=4 -device virtio-net-pci,netdev=hn0,id=nic1,mq=on,vectors=10 In a guest I ran "ethtool -L eth0 combined 4" to enable multiqueue. I am running one tcp stream into the guest using iperf. Since there is only one tcp stream I expect it to be handled by one queue only but this seams to be not the case. ethtool -S on a host shows that the stream is handled by one queue in the NIC, just like I would expect, but in a guest all 4 virtio-input interrupt are incremented. Am I missing any configuration? -- Gleb.