[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Default minimum number of receive buffers queued by netfront is now 64, not 8.
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |