diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-04-26 11:25:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-29 15:44:11 -0400 |
commit | ad246c992bea6d33c6421ba1f03e2b405792adf9 (patch) | |
tree | 28afc1b370d856a63a3cd792fc292996c0315c13 /Documentation/networking | |
parent | 7d36a991e8d36b8ae87e2aa1158d3735e656253b (diff) |
ipv4, ipv6, bonding: Restore control over number of peer notifications
For backward compatibility, we should retain the module parameters and
sysfs attributes to control the number of peer notifications
(gratuitous ARPs and unsolicited NAs) sent after bonding failover.
Also, it is possible for failover to take place even though the new
active slave does not have link up, and in that case the peer
notification should be deferred until it does.
Change ipv4 and ipv6 so they do not automatically send peer
notifications on bonding failover.
Change the bonding driver to send separate NETDEV_NOTIFY_PEERS
notifications when the link is up, as many times as requested. Since
it does not directly control which protocols send notifications, make
num_grat_arp and num_unsol_na aliases for a single parameter. Bump
the bonding version number and update its documentation.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Acked-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/bonding.txt | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt index e27202bb8d75..1f45bd887d65 100644 --- a/Documentation/networking/bonding.txt +++ b/Documentation/networking/bonding.txt | |||
@@ -1,7 +1,7 @@ | |||
1 | 1 | ||
2 | Linux Ethernet Bonding Driver HOWTO | 2 | Linux Ethernet Bonding Driver HOWTO |
3 | 3 | ||
4 | Latest update: 23 September 2009 | 4 | Latest update: 27 April 2011 |
5 | 5 | ||
6 | Initial release : Thomas Davis <tadavis at lbl.gov> | 6 | Initial release : Thomas Davis <tadavis at lbl.gov> |
7 | Corrections, HA extensions : 2000/10/03-15 : | 7 | Corrections, HA extensions : 2000/10/03-15 : |
@@ -585,25 +585,23 @@ mode | |||
585 | chosen. | 585 | chosen. |
586 | 586 | ||
587 | num_grat_arp | 587 | num_grat_arp |
588 | |||
589 | Specifies the number of gratuitous ARPs to be issued after a | ||
590 | failover event. One gratuitous ARP is issued immediately after | ||
591 | the failover, subsequent ARPs are sent at a rate of one per link | ||
592 | monitor interval (arp_interval or miimon, whichever is active). | ||
593 | |||
594 | The valid range is 0 - 255; the default value is 1. This option | ||
595 | affects only the active-backup mode. This option was added for | ||
596 | bonding version 3.3.0. | ||
597 | |||
598 | num_unsol_na | 588 | num_unsol_na |
599 | 589 | ||
600 | Specifies the number of unsolicited IPv6 Neighbor Advertisements | 590 | Specify the number of peer notifications (gratuitous ARPs and |
601 | to be issued after a failover event. One unsolicited NA is issued | 591 | unsolicited IPv6 Neighbor Advertisements) to be issued after a |
602 | immediately after the failover. | 592 | failover event. As soon as the link is up on the new slave |
603 | 593 | (possibly immediately) a peer notification is sent on the | |
604 | The valid range is 0 - 255; the default value is 1. This option | 594 | bonding device and each VLAN sub-device. This is repeated at |
605 | affects only the active-backup mode. This option was added for | 595 | each link monitor interval (arp_interval or miimon, whichever |
606 | bonding version 3.4.0. | 596 | is active) if the number is greater than 1. |
597 | |||
598 | The valid range is 0 - 255; the default value is 1. These options | ||
599 | affect only the active-backup mode. These options were added for | ||
600 | bonding versions 3.3.0 and 3.4.0 respectively. | ||
601 | |||
602 | From Linux 2.6.40 and bonding version 3.7.1, these notifications | ||
603 | are generated by the ipv4 and ipv6 code and the numbers of | ||
604 | repetitions cannot be set independently. | ||
607 | 605 | ||
608 | primary | 606 | primary |
609 | 607 | ||