summaryrefslogtreecommitdiff
path: root/include/net/bond_options.h
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2021-11-30 12:29:47 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-05 09:21:19 +0200
commit7ee611fc85adbb82e63501e7cb517163bacb0086 (patch)
tree06f24bbed643b7b8d90765fb55a6699835045497 /include/net/bond_options.h
parent5b925b48bebc16cf52be124b13b64410b9c43181 (diff)
Bonding: add arp_missed_max option
[ Upstream commit 5944b5abd8646e8c6ac6af2b55f87dede1dae898 ] 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> Stable-dep-of: 9949e2efb54e ("bonding: fix send_peer_notif overflow") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/bond_options.h')
-rw-r--r--include/net/bond_options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bond_options.h b/include/net/bond_options.h
index e64833a674eb..dd75c071f67e 100644
--- a/include/net/bond_options.h
+++ b/include/net/bond_options.h
@@ -65,6 +65,7 @@ enum {
BOND_OPT_NUM_PEER_NOTIF_ALIAS,
BOND_OPT_PEER_NOTIF_DELAY,
BOND_OPT_LACP_ACTIVE,
+ BOND_OPT_MISSED_MAX,
BOND_OPT_LAST
};