From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-440218-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1S9j38-00053R-3g
	for garchives@archives.gentoo.org; Mon, 19 Mar 2012 20:19:26 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4481BE0C13;
	Mon, 19 Mar 2012 20:19:12 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 111C7E0C13
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Mar 2012 20:19:11 +0000 (UTC)
Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 71DDD1B4035
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Mar 2012 20:19:11 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by hornbill.gentoo.org (Postfix) with ESMTP id C1213E5403
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Mar 2012 20:19:09 +0000 (UTC)
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" <robbat2@gentoo.org>
Message-ID: <1332187767.76d3fceb58d757a2acd72a89f6098a45b53fc944.robbat2@gentoo>
Subject: [gentoo-commits] proj/openrc:master commit in: doc/
X-VCS-Repository: proj/openrc
X-VCS-Files: doc/net.example.Linux.in
X-VCS-Directories: doc/
X-VCS-Committer: robbat2
X-VCS-Committer-Name: Robin H. Johnson
X-VCS-Revision: 76d3fceb58d757a2acd72a89f6098a45b53fc944
X-VCS-Branch: master
Date: Mon, 19 Mar 2012 20:19:09 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: b51116b2-b3eb-4350-a674-263c478ecb2a
X-Archives-Hash: 376355386255f7602f686851ecb8b814

commit:     76d3fceb58d757a2acd72a89f6098a45b53fc944
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 20:06:38 2012 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 20:09:27 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D=
commit;h=3D76d3fceb

doc/net.example: Update bonding example

The newer bonding code using sysfs does not clearly show the most common
bond parameter: mode

Also include a path to the referenced kernel documentation for the other
settings.

X-Gentoo-Bug: 408333
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=3D408333

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

---
 doc/net.example.Linux.in |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in
index 1d30545..51df8a9 100644
--- a/doc/net.example.Linux.in
+++ b/doc/net.example.Linux.in
@@ -616,9 +616,16 @@
 #slaves_bond0=3D"eth0 eth1 eth2"
 #config_bond0=3D"null" # You may not want to assign an IP the the bond
=20
-# You can also configure the bond here, which must be done via sysfs on =
2.6
-# kernels or newer. See the kernel bonding documentation for a descripti=
on of
-# these options.
+# You can also configure the parameters of the bond here, which must be =
done
+# via sysfs on 2.6 kernels or newer. The description of all the options =
can be
+# found in the kernel: /usr/src/linux-*/Documentation/networking/bonding=
.txt
+# You will probably want the 'mode' option at the least.
+# Some possible parameters: mode fail_over_mac arp_validate arp_interval
+# arp_ip_target downdelay updelay lacp_rate ad_select xmit_hash_policy
+# num_grat_arp num_unsol_na miimon primary primary_reselect use_carrier
+# active_slave queue_id all_slaves_active resend_igmp min_links
+#mode_bond0=3D"round-robin"
+#miimon_bond0=3D"100"
 #arp_ip_target_bond0=3D"+26.0.0.0"
=20
 # If any of the slaves require extra configuration - for example wireles=
s or