diff options
author | Moni Shoua <monis@voltaire.com> | 2008-05-18 06:10:12 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-22 12:34:26 +0200 |
commit | 7893b2491a2d5f716540ac5643d78d37a7f6628b (patch) | |
tree | 2558b83e5a19b7d4a6b3c10c5bb90919bb1f3889 /drivers/net/bonding/bonding.h | |
parent | bonding: Remove unneeded list_empty checks. (diff) | |
download | linux-7893b2491a2d5f716540ac5643d78d37a7f6628b.tar.xz linux-7893b2491a2d5f716540ac5643d78d37a7f6628b.zip |
bonding: Send more than one gratuitous ARP when slave takes over
With IPoIB, reception of gratuitous ARP by neighboring hosts
is essential for a successful change of slaves in case of failure.
Otherwise, they won't learn about the HW address change and need
to wait a long time until the neighboring system gives up and sends
an ARP request to learn the new HW address. This patch decreases
the chance for a lost of a gratuitous ARP packet by sending it more
than once. The number retries is configurable and can be set with a
module param.
Signed-off-by: Moni Shoua <monis@voltaire.com>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/bonding/bonding.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 0ce7f4ae920f..46a2ed507b33 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h @@ -125,6 +125,7 @@ struct bond_params { int mode; int xmit_policy; int miimon; + int num_grat_arp; int arp_interval; int arp_validate; int use_carrier; |