From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=48389 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Op7Xs-0007av-J5 for qemu-devel@nongnu.org; Fri, 27 Aug 2010 18:37:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Op7Xn-0004EV-Kf for qemu-devel@nongnu.org; Fri, 27 Aug 2010 18:37:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3776) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op7Xn-0004EL-Aa for qemu-devel@nongnu.org; Fri, 27 Aug 2010 18:37:07 -0400 From: Alex Williamson Date: Fri, 27 Aug 2010 16:36:59 -0600 Message-ID: <20100827223659.2696.3589.stgit@s20.home> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/5] virtio-net: More configurability and bh handling for tx List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: jes.sorensen@redhat.com, alex.williamson@redhat.com, kvm@vger.kernel.org Add the ability to configure the tx_timer timeout and add a bottom half tx handler that typically shows a nice perf boost over the time based approach. See last patch for perf details. Make this the new default when the iothread is enabled. Thanks, Alex --- Alex Williamson (5): virtio-net: Switch default to new bottom half TX handler for iothread virtio-net: Introduce a new bottom half packet TX virtio-net: Rename tx_timer_active to tx_waiting virtio-net: Limit number of packets sent per TX flush virtio-net: Make tx_timer timeout configurable hw/s390-virtio-bus.c | 6 ++ hw/s390-virtio-bus.h | 4 ++ hw/syborg_virtio.c | 10 +++- hw/virtio-net.c | 129 ++++++++++++++++++++++++++++++++++++++++---------- hw/virtio-net.h | 2 - hw/virtio-pci.c | 10 +++- hw/virtio.h | 9 +++ 7 files changed, 137 insertions(+), 33 deletions(-)