summaryrefslogtreecommitdiffstats
path: root/include/net/bonding.h
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2021-11-30 12:29:47 +0800
committerDavid S. Miller <davem@davemloft.net>2021-11-30 12:15:58 +0000
commit5944b5abd8646e8c6ac6af2b55f87dede1dae898 (patch)
tree3e0b164b647020ebc1309e7e1d86f4105b8fb3ab /include/net/bonding.h
parent2680ce7fc9939221da16e86a2e73cc1df563c82c (diff)
downloadlinux-5944b5abd8646e8c6ac6af2b55f87dede1dae898.tar.bz2
Bonding: add arp_missed_max option
Currently, we use hard code number to verify if we are in the arp_interval timeslice. But some user may want to reduce/extend the verify timeslice. With the similar team option 'missed_max' the uers could change that number based on their own environment. Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/bonding.h')
-rw-r--r--include/net/bonding.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bonding.h b/include/net/bonding.h
index 15e083e18f75..f6ae3a4baea4 100644
--- a/include/net/bonding.h
+++ b/include/net/bonding.h
@@ -121,6 +121,7 @@ struct bond_params {
int xmit_policy;
int miimon;
u8 num_peer_notif;
+ u8 missed_max;
int arp_interval;
int arp_validate;
int arp_all_targets;