net loopback: change the nloopbacks default back from 4 to 8
PATCH 1/1 net loopback: change the nloopbacks default back from 4 to 8
We have several machines with four integrated NICs that currently do not have functional drivers. We add a more common NIC to the machine to get things working. Since the integrated NICs get assigned interfaces eth0 - eth3 and the add-in NIC eth4, we do not get a loopback interface for eth4 because it is the fifth interface. It also seems likely in a data center that machines could use more that four network interfaces.
This patch changes the nloopbacks parameter default back from 4 to 8.
signed-of-by Kirk Allan <[email protected]>
linux-2.6-xen-sparse/drivers/xen/netback/loopback.c +1 -1
@@ -297,7 +297,7 @@int i, err =0 ;if (nloopbacks ==-1 ) - nloopbacks =is_initial_xendomain () ?4 :0 ; + nloopbacks =is_initial_xendomain () ?8 :0 ;for (i =0 ; i < nloopbacks; i++)if ((err =make_loopback (i)) !=0 )
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel