WSL2-Linux-Kernel/net/tipc
Allan Stephens 972a77fbf1 tipc: Revise timings used when sending link request messages
Revises the algorithm governing the sending of link request messages
to take into account the number of nodes each bearer is currently in
contact with, and to ensure more rapid rediscovery of neighboring nodes
if a bearer fails and then recovers.

The discovery object now sends requests at least once a second if it
is not in contact with any other nodes, and at least once a minute if
it has at least one neighbor; if contact with the only neighbor is
lost, the object immediately reverts to its initial rapid-fire search
timing to accelerate the rediscovery process.

In addition, the discovery object now stops issuing link request
messages if it is in contact with the only neighboring node it is
configured to communicate with, since further searching is unnecessary.

Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2011-05-10 16:04:02 -04:00
..
Kconfig
Makefile
addr.c
addr.h tipc: make zone/cluster mask constants a define 2011-05-10 16:03:54 -04:00
bcast.c tipc: Fix sk_buff leaks when link congestion is detected 2011-05-10 16:03:53 -04:00
bcast.h
bearer.c tipc: Add monitoring of number of nodes discovered by bearer 2011-05-10 16:04:01 -04:00
bearer.h
config.c
config.h
core.c
core.h
discover.c tipc: Revise timings used when sending link request messages 2011-05-10 16:04:02 -04:00
discover.h tipc: Add monitoring of number of nodes discovered by bearer 2011-05-10 16:04:01 -04:00
eth_media.c
handler.c
link.c tipc: Introduce routine to enqueue a chain of messages on link tx queue 2011-05-10 16:03:58 -04:00
link.h tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
log.c
log.h
msg.c tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
msg.h tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
name_distr.c
name_distr.h
name_table.c
name_table.h
net.c
net.h
netlink.c
node.c
node.h
node_subscr.c
node_subscr.h
port.c tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
port.h tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
ref.c
ref.h
socket.c tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
subscr.c tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
subscr.h