* [PATCH 2.6.20] networking: bonding documentation fix for multiple bonding interfaces
@ 2007-04-17 7:49 Alexandra N. Kossovsky
2007-04-20 16:12 ` Jay Vosburgh
0 siblings, 1 reply; 2+ messages in thread
From: Alexandra N. Kossovsky @ 2007-04-17 7:49 UTC (permalink / raw)
To: lkml; +Cc: netdev, akpm
Fix bonding driver documentation for the case of multiple bonding interfaces.
Signed-off-by: "Alexandra N. Kossovsky" <Alexandra.Kossovsky@oktetlabs.ru>
---
--- a/Documentation/networking/bonding.txt 2007-04-17 11:29:42.000000000 +0400
+++ b/Documentation/networking/bonding.txt 2007-04-17 11:35:54.000000000 +0400
@@ -920,40 +920,9 @@
documented above.
To create multiple bonding devices with differing options, it
-is necessary to load the bonding driver multiple times. Note that
-current versions of the sysconfig network initialization scripts
-handle this automatically; if your distro uses these scripts, no
-special action is needed. See the section Configuring Bonding
-Devices, above, if you're not sure about your network initialization
-scripts.
-
- To load multiple instances of the module, it is necessary to
-specify a different name for each instance (the module loading system
-requires that every loaded module, even multiple instances of the same
-module, have a unique name). This is accomplished by supplying
-multiple sets of bonding options in /etc/modprobe.conf, for example:
-
-alias bond0 bonding
-options bond0 -o bond0 mode=balance-rr miimon=100
-
-alias bond1 bonding
-options bond1 -o bond1 mode=balance-alb miimon=50
-
- will load the bonding module two times. The first instance is
-named "bond0" and creates the bond0 device in balance-rr mode with an
-miimon of 100. The second instance is named "bond1" and creates the
-bond1 device in balance-alb mode with an miimon of 50.
-
- In some circumstances (typically with older distributions),
-the above does not work, and the second bonding instance never sees
-its options. In that case, the second options line can be substituted
-as follows:
-
-install bond1 /sbin/modprobe --ignore-install bonding -o bond1 \
- mode=balance-alb miimon=50
+is necessary to use bonding parameters exported by sysfs, documented
+in the section below.
- This may be repeated any number of times, specifying a new and
-unique name in place of bond1 for each subsequent instance.
3.4 Configuring Bonding Manually via Sysfs
------------------------------------------
--
Alexandra N. Kossovsky
OKTET Labs (http://www.oktetlabs.ru/)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2.6.20] networking: bonding documentation fix for multiple bonding interfaces
2007-04-17 7:49 [PATCH 2.6.20] networking: bonding documentation fix for multiple bonding interfaces Alexandra N. Kossovsky
@ 2007-04-20 16:12 ` Jay Vosburgh
0 siblings, 0 replies; 2+ messages in thread
From: Jay Vosburgh @ 2007-04-20 16:12 UTC (permalink / raw)
To: Alexandra N. Kossovsky; +Cc: lkml, netdev, akpm
Alexandra N. Kossovsky <Alexandra.Kossovsky@oktetlabs.ru> wrote:
>Fix bonding driver documentation for the case of multiple bonding interfaces.
>
>Signed-off-by: "Alexandra N. Kossovsky" <Alexandra.Kossovsky@oktetlabs.ru>
I don't see a problem with this; users running distros that
require the multiple load fru fru still have the documentation supplied
with their distro kernel.
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
-J
---
-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-20 16:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-17 7:49 [PATCH 2.6.20] networking: bonding documentation fix for multiple bonding interfaces Alexandra N. Kossovsky
2007-04-20 16:12 ` Jay Vosburgh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).