]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Increase frequency of load distribution over broadcast link
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 15 Mar 2010 08:02:24 +0000 (08:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Mar 2010 04:23:23 +0000 (21:23 -0700)
commita50b0868f38c23ad9cdff4084ada5bf2f367cc4f
treeb8a4eb2917e5e02f410a9563a7fbf268fabc9d44
parentf4390e81b94fe48ea286979c87dbeed16af05c1b
tipc: Increase frequency of load distribution over broadcast link

Forward port commit 29eb572941501c40ac6e62dbc5043bf9ee76ee56
from git://tipc.cslab.ericsson.net/pub/git/people/allan/tipc.git

Origional commit message:
Increase frequency of load distribution over broadcast link

This patch enhances the behavior of TIPC's broadcast link so that it
alternates between redundant bearers (if available) after every
message sent, rather than after every 10 messages.  This change helps
to speed up delivery of retransmitted messages by ensuring that
they are not sent repeatedly over a bearer that is no longer working,
but not yet recognized as failed.

Tested by myself in the latest net-2.6 tree using the tipc sanity test suite

Origionally-signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
bcast.c |   35 ++++++++++++++---------------------
1 file changed, 14 insertions(+), 21 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bcast.c