ia64/xen-unstable

changeset 11664:14111cab38fd

[NET] back: 4 loopbacks by default for dom0 (previously was 8).
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Thu Sep 28 13:45:49 2006 +0100 (2006-09-28)
parents 34452b288046
children 5f42b4824e45
files linux-2.6-xen-sparse/drivers/xen/netback/loopback.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/netback/loopback.c	Thu Sep 28 13:44:24 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/netback/loopback.c	Thu Sep 28 13:45:49 2006 +0100
     1.3 @@ -241,7 +241,7 @@ static int __init loopback_init(void)
     1.4  	int i, err = 0;
     1.5  
     1.6  	if (nloopbacks == -1)
     1.7 -		nloopbacks = is_initial_xendomain() ? 8 : 0;
     1.8 +		nloopbacks = is_initial_xendomain() ? 4 : 0;
     1.9  
    1.10  	for (i = 0; i < nloopbacks; i++)
    1.11  		if ((err = make_loopback(i)) != 0)