summaryrefslogtreecommitdiff
path: root/include/linux/if_bonding.h
diff options
context:
space:
mode:
authorFlavio Leitner <fleitner@redhat.com>2010-10-05 14:23:59 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-05 20:26:58 -0700
commitc2952c314b4fe61820ba8fd6c949eed636140d52 (patch)
treedd7ab927c7d344279e128f38d90387214cd06e13 /include/linux/if_bonding.h
parente12b453904c54bbdc515778ff664d87a7f9473af (diff)
bonding: add retransmit membership reports tunable
Allow sysadmins to configure the number of multicast membership report sent on a link failure event. Signed-off-by: Flavio Leitner <fleitner@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_bonding.h')
-rw-r--r--include/linux/if_bonding.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/if_bonding.h b/include/linux/if_bonding.h
index 2c7994372bde..a17edda8a781 100644
--- a/include/linux/if_bonding.h
+++ b/include/linux/if_bonding.h
@@ -84,6 +84,9 @@
#define BOND_DEFAULT_MAX_BONDS 1 /* Default maximum number of devices to support */
#define BOND_DEFAULT_TX_QUEUES 16 /* Default number of tx queues per device */
+
+#define BOND_DEFAULT_RESEND_IGMP 1 /* Default number of IGMP membership reports */
+
/* hashing types */
#define BOND_XMIT_POLICY_LAYER2 0 /* layer 2 (MAC only), default */
#define BOND_XMIT_POLICY_LAYER34 1 /* layer 3+4 (IP ^ (TCP || UDP)) */