]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: optimize link synching mechanism
authorTuong Lien <tuong.t.lien@dektech.com.au>
Wed, 24 Jul 2019 01:56:11 +0000 (08:56 +0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jul 2019 22:55:47 +0000 (15:55 -0700)
commit61839abb9656fac5ab35c966368ff201c24b8d89
tree23ba2353dfc0edd55b5d640bc3d68595f5abac61
parent5c18d86cff644ac2b400c11aeb20696a39a4f7d1
tipc: optimize link synching mechanism

This commit along with the next one are to resolve the issues with the
link changeover mechanism. See that commit for details.

Basically, for the link synching, from now on, we will send only one
single ("dummy") SYNCH message to peer. The SYNCH message does not
contain any data, just a header conveying the synch point to the peer.

A new node capability flag ("TIPC_TUNNEL_ENHANCED") is introduced for
backward compatible!

Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Suggested-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Tuong Lien <tuong.t.lien@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c
net/tipc/msg.h
net/tipc/node.c
net/tipc/node.h