From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH 0/5] virtio-net: More configurability and bh handling for tx 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 Cc: kvm@vger.kernel.org, anthony@codemonkey.ws, jes.sorensen@redhat.com, alex.williamson@redhat.com To: qemu-devel@nongnu.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:58044 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753615Ab0H0WhH (ORCPT ); Fri, 27 Aug 2010 18:37:07 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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(-)