All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kirk Allan" <kallan@novell.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] net loopback: change the nloopbacks default back from 4 to 8
Date: Fri, 26 Jan 2007 09:51:50 -0700	[thread overview]
Message-ID: <45B9CF36.39DB.0076.0@novell.com> (raw)

[-- 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

                 reply	other threads:[~2007-01-26 16:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45B9CF36.39DB.0076.0@novell.com \
    --to=kallan@novell.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.