From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark McLoughlin Subject: [PATCH 7/9] kvm: qemu: Increase size of virtio_net rings Date: Thu, 24 Jul 2008 12:46:17 +0100 Message-ID: <1216899979-32532-8-git-send-email-markmc@redhat.com> References: <1216899979-32532-1-git-send-email-markmc@redhat.com> <1216899979-32532-2-git-send-email-markmc@redhat.com> <1216899979-32532-3-git-send-email-markmc@redhat.com> <1216899979-32532-4-git-send-email-markmc@redhat.com> <1216899979-32532-5-git-send-email-markmc@redhat.com> <1216899979-32532-6-git-send-email-markmc@redhat.com> <1216899979-32532-7-git-send-email-markmc@redhat.com> Cc: Herbert Xu , Rusty Russell , Mark McLoughlin To: kvm@vger.kernel.org Return-path: Received: from mail06.svc.cra.dublin.eircom.net ([159.134.118.22]:32778 "HELO mail06.svc.cra.dublin.eircom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751212AbYGXLxN (ORCPT ); Thu, 24 Jul 2008 07:53:13 -0400 In-Reply-To: <1216899979-32532-7-git-send-email-markmc@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Signed-off-by: Mark McLoughlin --- qemu/hw/virtio-net.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/hw/virtio-net.c b/qemu/hw/virtio-net.c index 81282c4..a681a7e 100644 --- a/qemu/hw/virtio-net.c +++ b/qemu/hw/virtio-net.c @@ -305,8 +305,8 @@ PCIDevice *virtio_net_init(PCIBus *bus, NICInfo *nd, int devfn) n->vdev.update_config = virtio_net_update_config; n->vdev.get_features = virtio_net_get_features; n->vdev.set_features = virtio_net_set_features; - n->rx_vq = virtio_add_queue(&n->vdev, 128, virtio_net_handle_rx); - n->tx_vq = virtio_add_queue(&n->vdev, 128, virtio_net_handle_tx); + n->rx_vq = virtio_add_queue(&n->vdev, 512, virtio_net_handle_rx); + n->tx_vq = virtio_add_queue(&n->vdev, 512, virtio_net_handle_tx); memcpy(n->mac, nd->macaddr, 6); n->vc = qemu_new_vlan_client(nd->vlan, virtio_net_receive, virtio_net_can_receive, n); -- 1.5.4.1