From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnoXq-0006iX-Ln for qemu-devel@nongnu.org; Wed, 26 Dec 2012 05:49:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TnoXn-0004ZX-SI for qemu-devel@nongnu.org; Wed, 26 Dec 2012 05:49:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnoXn-0004ZA-LD for qemu-devel@nongnu.org; Wed, 26 Dec 2012 05:49:03 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBQAn2qt013865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 26 Dec 2012 05:49:02 -0500 Date: Wed, 26 Dec 2012 12:52:15 +0200 From: "Michael S. Tsirkin" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH 0/8] virtio-pci: msix masking optimizations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, asias@redhat.com, stefanha@redhat.com This patchset implements two msix masking optimizations. It works fine for me but I did not have the time to do performance testing yet so I do not know whether it helps and which workloads. Sending out now as I'll be on vacation for a week. Please review and comment. Thanks! Michael S. Tsirkin (8): virtio: don't waste irqfds on control vqs msix: add api to access msix message kvm: add stub for update msi route virtio-pci: cache msix messages virtio: backend virtqueue notifier masking virtio-net: set/clear vhost_started in reverse order vhost: set started flag while start is in progress vhost: backend masking support hw/pci/msix.c | 2 +- hw/pci/msix.h | 1 + hw/vhost.c | 112 ++++++++++++++++++++++++++----- hw/vhost.h | 10 +++ hw/vhost_net.c | 27 +++++++- hw/vhost_net.h | 3 + hw/virtio-net.c | 22 +++++- hw/virtio-pci.c | 203 ++++++++++++++++++++++++++++++++++++++++++++++++-------- hw/virtio-pci.h | 2 + hw/virtio.h | 15 ++++- kvm-stub.c | 5 ++ 11 files changed, 350 insertions(+), 52 deletions(-) -- MST