diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2021-11-30 12:29:47 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-30 12:15:58 +0000 |
commit | 5944b5abd8646e8c6ac6af2b55f87dede1dae898 (patch) | |
tree | 3e0b164b647020ebc1309e7e1d86f4105b8fb3ab /drivers/net/bonding/bond_procfs.c | |
parent | 2680ce7fc9939221da16e86a2e73cc1df563c82c (diff) | |
download | lwn-5944b5abd8646e8c6ac6af2b55f87dede1dae898.tar.gz lwn-5944b5abd8646e8c6ac6af2b55f87dede1dae898.zip |
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 'drivers/net/bonding/bond_procfs.c')
-rw-r--r-- | drivers/net/bonding/bond_procfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c index f3e3bfd72556..2ec11af5f0cc 100644 --- a/drivers/net/bonding/bond_procfs.c +++ b/drivers/net/bonding/bond_procfs.c @@ -115,6 +115,8 @@ static void bond_info_show_master(struct seq_file *seq) seq_printf(seq, "ARP Polling Interval (ms): %d\n", bond->params.arp_interval); + seq_printf(seq, "ARP Missed Max: %u\n", + bond->params.missed_max); seq_printf(seq, "ARP IP target/s (n.n.n.n form):"); |