WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Default minimum number of receive buffers queued by netf

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Default minimum number of receive buffers queued by netfront is now 64, not 8.
From: Xen patchbot -3.0-testing <patchbot-3.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 26 Feb 2006 20:42:15 +0000
Delivery-date: Sun, 26 Feb 2006 20:42:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 0989c353801c626be44b63f743832332fe8ed539
# Parent  42fcd2e90f63d9b6f8ad70be053c70744200adb1
Default minimum number of receive buffers queued by netfront is now 64, not 8.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 42fcd2e90f63 -r 0989c353801c 
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c      Fri Feb 24 
07:50:03 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c      Fri Feb 24 
16:51:56 2006
@@ -113,6 +113,7 @@
 
        /* Receive-ring batched refills. */
 #define RX_MIN_TARGET 8
+#define RX_DFL_MIN_TARGET 64
 #define RX_MAX_TARGET NET_RX_RING_SIZE
        int rx_min_target, rx_max_target, rx_target;
        struct sk_buff_head rx_batch;
@@ -1085,8 +1086,8 @@
        spin_lock_init(&np->rx_lock);
 
        skb_queue_head_init(&np->rx_batch);
-       np->rx_target     = RX_MIN_TARGET;
-       np->rx_min_target = RX_MIN_TARGET;
+       np->rx_target     = RX_DFL_MIN_TARGET;
+       np->rx_min_target = RX_DFL_MIN_TARGET;
        np->rx_max_target = RX_MAX_TARGET;
 
        init_timer(&np->rx_refill_timer);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>