Skip to content

tipc: new unicast transmission code

Jon Maloy netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13tipc: eliminate case of writing to freed memorynet/tipc/node_subscr.c+4 -23 replies
2/13tipc: use negative error return values in functionsnet/tipc/socket.c+23 -230 replies
3/13tipc: introduce send functions for chained buffers in linknet/tipc/link.c net/tipc/link.h net/tipc/msg.c +1 more+250 -130 replies
4/13tipc: make link mtu easily accessible from socketnet/tipc/node.c net/tipc/node.h+38 -40 replies
5/13tipc: introduce direct iovec to buffer chain fragmentation functionnet/tipc/msg.c net/tipc/msg.h+105 -00 replies
6/13tipc: separate building and sending of rejected messagesnet/tipc/msg.c net/tipc/msg.h net/tipc/socket.c+64 -80 replies
7/13tipc: introduce message evaluation functionnet/tipc/msg.c net/tipc/msg.h net/tipc/net.c +1 more+51 -380 replies
8/13tipc: RDM/DGRAM transport uses new fragmenting and sending functionsnet/tipc/port.c net/tipc/port.h net/tipc/socket.c+110 -1490 replies
9/13tipc: connection oriented transport uses new send functionsnet/tipc/link.c net/tipc/port.c net/tipc/port.h +1 more+70 -5130 replies
10/13tipc: let port protocol senders use new link send functionnet/tipc/port.c+23 -70 replies
11/13tipc: same receive code path for connection protocol and data messagesnet/tipc/link.c net/tipc/net.c net/tipc/net.h +3 more+19 -550 replies
12/13tipc: clean up connection protocol reception functionnet/tipc/msg.c net/tipc/port.c net/tipc/port.h +2 more+68 -630 replies
13/13tipc: simplify connection congestion handlingnet/tipc/link.c net/tipc/port.c net/tipc/port.h +2 more+43 -540 replies

Reviews trailers per patch

12 of 13 patches have a Reviewed-by or Acked-by.

PatchErik HugneYing Xue
1/13
2/13R-b R-b
3/13R-b R-b
4/13R-b R-b
5/13R-b R-b
6/13R-b R-b
7/13R-b R-b
8/13R-b R-b
9/13R-b R-b
10/13R-b R-b
11/13R-b R-b
12/13R-b R-b
13/13R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 00/13] tipc: new unicast transmission code

As a step towards making the data transmission code more maintainable and performant, we introduce a number of new functions, both for building, sending and rejecting messages. The new functions will eventually be used for alla data transmission, user data unicast, service internal messaging, and multicast/broadcast.

We start with this series, where we introduce the functions, and let user data unicast and the internal connection protocol use them. The remaining users will come in a later series.

There are only minor changes to data structures, and no protocol changes, so the older functions can still be used in parallel for some time. Until the old functions are removed, we use temporary names for the new functions, such as tipc_build_msg2, tipc_link_xmit2.

It should be noted that the first two commits are unrelated to the rest of the series.

Jon Maloy (13):
tipc: eliminate case of writing to freed memory
tipc: use negative error return values in functions
tipc: introduce send functions for chained buffers in link
tipc: make link mtu easily accessible from socket
tipc: introduce direct iovec to buffer chain fragmentation function
tipc: separate building and sending of rejected messages
tipc: introduce message evaluation function
tipc: RDM/DGRAM transport uses new fragmenting and sending functions
tipc: connection oriented transport uses new send functions
tipc: let port protocol senders use new link send function
tipc: same receive code path for connection protocol and data
messages
tipc: clean up connection protocol reception function
tipc: simplify connection congestion handling

 net/tipc/link.c        |  417 ++++++++++++++++-------------------------
 net/tipc/link.h        |    2 +
 net/tipc/msg.c         |  282 ++++++++++++++++++++++++++--
 net/tipc/msg.h         |   32 +++-
 net/tipc/net.c         |   63 +------
 net/tipc/net.h         |    2 -
 net/tipc/node.c        |   25 ++-
 net/tipc/node.h        |   17 ++
 net/tipc/node_subscr.c |    6 +-
 net/tipc/port.c        |  328 +++-----------------------------
 net/tipc/port.h        |   40 ----
 net/tipc/socket.c      |  487 ++++++++++++++++++++++++++++--------------------
 net/tipc/socket.h      |   14 ++
 13 files changed, 827 insertions(+), 888 deletions(-)
Signature · 1 line
1.7.9.5