OSDN Git Service

tipc: add new function for sending multiple small messages
authorJon Maloy <jon.maloy@ericsson.com>
Fri, 13 Oct 2017 09:04:21 +0000 (11:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2017 15:46:00 +0000 (08:46 -0700)
commitf70d37b796241f617107d5585ee96a7e1b660b63
tree3f23524fa7b31c7205d0c7f1f49cfd6ff027d5b6
parent64ac5f5977df5b276374fb2f051082129f5cdb22
tipc: add new function for sending multiple small messages

We see an increasing need to send multiple single-buffer messages
of TIPC_SYSTEM_IMPORTANCE to different individual destination nodes.
Instead of looping over the send queue and sending each buffer
individually, as we do now, we add a new help function
tipc_node_distr_xmit() to do this.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/node.c
net/tipc/node.h
net/tipc/socket.c