All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net loopback: change the nloopbacks default back from 4 to 8
@ 2007-01-26 16:51 Kirk Allan
  0 siblings, 0 replies; only message in thread
From: Kirk Allan @ 2007-01-26 16:51 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

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 <kallan@novell.com>

[-- Attachment #2: nloopbacks.diff --]
[-- Type: application/octet-stream, Size: 423 bytes --]

--- a/linux-2.6-xen-sparse/drivers/xen/netback/loopback.c	2007-01-26 09:22:29.000000000 -0700
+++ b/linux-2.6-xen-sparse/drivers/xen/netback/loopback.c	2007-01-26 09:24:32.000000000 -0700
@@ -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)

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-26 16:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-26 16:51 [PATCH] net loopback: change the nloopbacks default back from 4 to 8 Kirk Allan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.